2013-07-27 12:20:59 +02:00
|
|
|
# $NetBSD: Makefile,v 1.14 2013/07/27 10:20:59 jaapb Exp $
|
2006-08-11 17:43:36 +02:00
|
|
|
#
|
|
|
|
|
2013-07-27 12:20:59 +02:00
|
|
|
DISTNAME= ocamlnet-3.6.6
|
2006-08-11 17:43:36 +02:00
|
|
|
CATEGORIES= net
|
2009-10-18 21:46:36 +02:00
|
|
|
MASTER_SITES= http://download.camlcity.org/download/
|
2006-08-11 17:43:36 +02:00
|
|
|
|
2012-07-06 11:29:14 +02:00
|
|
|
MAINTAINER= jaapb@kerguelen.org
|
2009-10-18 21:46:36 +02:00
|
|
|
HOMEPAGE= http://projects.camlcity.org/projects/ocamlnet.html
|
2006-08-11 17:43:36 +02:00
|
|
|
COMMENT= Library focusing on application-level network protocols (OCaml)
|
2012-07-06 11:29:14 +02:00
|
|
|
LICENSE= zlib AND gnu-gpl-v2
|
2010-01-30 20:36:35 +01:00
|
|
|
|
2009-06-30 02:07:09 +02:00
|
|
|
MAKE_JOBS_SAFE= no
|
|
|
|
|
2012-07-06 11:29:14 +02:00
|
|
|
DEPENDS+= ocaml-findlib-[0-9]*:../../devel/ocaml-findlib
|
2006-08-11 17:43:36 +02:00
|
|
|
|
|
|
|
HAS_CONFIGURE= yes
|
2012-07-06 11:29:14 +02:00
|
|
|
CONFIGURE_ARGS+= -without-nethttpd -without-rpc-auth-dh -disable-gtk2 \
|
2012-08-20 10:11:58 +02:00
|
|
|
-disable-tcl -disable-apache -enable-pcre
|
2006-08-11 17:43:36 +02:00
|
|
|
USE_TOOLS+= gmake
|
2012-07-06 11:29:14 +02:00
|
|
|
BUILD_TARGET= all
|
|
|
|
|
2013-06-24 17:11:38 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
PLIST_VARS= opt ssl xti
|
2012-07-06 11:29:14 +02:00
|
|
|
.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \
|
|
|
|
(${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "x86_64")
|
|
|
|
BUILD_TARGET+= opt
|
|
|
|
PLIST.opt= yes
|
|
|
|
.endif
|
2013-06-24 17:11:38 +02:00
|
|
|
.if ${OPSYS} == "SunOS"
|
|
|
|
PLIST.xti= yes
|
|
|
|
.endif
|
2012-07-06 11:29:14 +02:00
|
|
|
|
|
|
|
SUBPKGDIRS= equeue netcgi2-plex netplex pop rpc-ssl equeue-ssl \
|
|
|
|
netclient netshm rpc shell netcamlbox netgssapi \
|
|
|
|
netstring rpc-auth-local smtp netcgi2 netmulticore \
|
2013-06-24 17:11:38 +02:00
|
|
|
netsys rpc-generator rpc-xti
|
2012-07-06 11:29:14 +02:00
|
|
|
|
|
|
|
INSTALLATION_DIRS= lib/ocaml/site-lib
|
|
|
|
|
|
|
|
pre-install:
|
|
|
|
.for i in ${SUBPKGDIRS};
|
|
|
|
${RM} -rf ${DESTDIR}/${PREFIX}/lib/ocaml/site-lib/${i}
|
|
|
|
.endfor
|
2006-08-11 17:43:36 +02:00
|
|
|
|
2012-07-06 11:29:14 +02:00
|
|
|
.include "options.mk"
|
|
|
|
.include "../../devel/pcre-ocaml/buildlink3.mk"
|
2006-08-11 17:43:36 +02:00
|
|
|
.include "../../lang/ocaml/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|