1 # $NetBSD: Makefile,v 1.10 2013/02/06 23:23:20 jperkin Exp $
4 DISTNAME
= ocamlnet-3.6
.3
6 MASTER_SITES
= http
://download.camlcity.org
/download
/
8 MAINTAINER
= jaapb@kerguelen.org
9 HOMEPAGE
= http
://projects.camlcity.org
/projects
/ocamlnet.html
10 COMMENT
= Library focusing on application-level network protocols
(OCaml
)
11 LICENSE
= zlib AND gnu-gpl-v2
15 DEPENDS
+= ocaml-findlib-
[0-9]*:..
/..
/devel
/ocaml-findlib
18 CONFIGURE_ARGS
+= -without-nethttpd
-without-rpc-auth-dh
-disable-gtk2 \
19 -disable-tcl
-disable-apache
-enable-pcre
24 .if
(${MACHINE_ARCH} == "i386") ||
(${MACHINE_ARCH} == "powerpc") || \
25 (${MACHINE_ARCH} == "sparc") ||
(${MACHINE_ARCH} == "x86_64")
30 SUBPKGDIRS
= equeue netcgi2-plex netplex pop rpc-ssl equeue-ssl \
31 netclient netshm rpc
shell netcamlbox netgssapi \
32 netstring rpc-auth-local smtp netcgi2 netmulticore \
35 INSTALLATION_DIRS
= lib
/ocaml
/site-lib
38 .for i in
${SUBPKGDIRS};
39 ${RM} -rf
${DESTDIR}/${PREFIX}/lib
/ocaml
/site-lib
/${i}
43 .
include "../../devel/pcre-ocaml/buildlink3.mk"
44 .
include "../../lang/ocaml/buildlink3.mk"
45 .
include "../../mk/bsd.pkg.mk"