Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / net / ocamlnet / Makefile
blob5b9a36eea8c05146627d42a053c6414381f6ed71
1 # $NetBSD: Makefile,v 1.10 2013/02/06 23:23:20 jperkin Exp $
4 DISTNAME= ocamlnet-3.6.3
5 CATEGORIES= net
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
13 MAKE_JOBS_SAFE= no
15 DEPENDS+= ocaml-findlib-[0-9]*:../../devel/ocaml-findlib
17 HAS_CONFIGURE= yes
18 CONFIGURE_ARGS+= -without-nethttpd -without-rpc-auth-dh -disable-gtk2 \
19 -disable-tcl -disable-apache -enable-pcre
20 USE_TOOLS+= gmake
21 BUILD_TARGET= all
23 PLIST_VARS= opt ssl
24 .if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \
25 (${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "x86_64")
26 BUILD_TARGET+= opt
27 PLIST.opt= yes
28 .endif
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 \
33 netsys rpc-generator
35 INSTALLATION_DIRS= lib/ocaml/site-lib
37 pre-install:
38 .for i in ${SUBPKGDIRS};
39 ${RM} -rf ${DESTDIR}/${PREFIX}/lib/ocaml/site-lib/${i}
40 .endfor
42 .include "options.mk"
43 .include "../../devel/pcre-ocaml/buildlink3.mk"
44 .include "../../lang/ocaml/buildlink3.mk"
45 .include "../../mk/bsd.pkg.mk"