ports/122890: Update port: www/ocaml-net (revision, added options)

Jaap Boender jaapb at kerguelen.org
Tue Apr 22 11:50:02 UTC 2008


The following reply was made to PR ports/122890; it has been noted by GNATS.

From: Jaap Boender <jaapb at kerguelen.org>
To: bug-followup at freebsd.org
Cc: Manfred Lotz <manfred.lotz at yahoo.de>
Subject: Re: ports/122890: Update port: www/ocaml-net (revision, added options)
Date: Tue, 22 Apr 2008 13:39:15 +0200

 --Boundary-00=_k5cDIEcwK24Qd2C
 Content-Type: text/plain;
   charset="us-ascii"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 There was an error in the shar archive, and besides files that weren't needed, 
 so attached to this mail is a new shar.
 
 --Boundary-00=_k5cDIEcwK24Qd2C
 Content-Type: text/plain;
   charset="us-ascii";
   name="ocaml-net.shar"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
 	filename="ocaml-net.shar"
 
 # This is a shell archive.  Save it in a file, remove anything before
 # this line, and then unpack it by entering "sh file".  Note, it may
 # create directories; files and directories will be owned by you and
 # have default permissions.
 #
 # This archive contains:
 #
 #	/usr/ports/www/ocaml-net
 #	/usr/ports/www/ocaml-net/Makefile
 #	/usr/ports/www/ocaml-net/distinfo
 #	/usr/ports/www/ocaml-net/pkg-descr
 #
 echo c - /usr/ports/www/ocaml-net
 mkdir -p /usr/ports/www/ocaml-net > /dev/null 2>&1
 echo x - /usr/ports/www/ocaml-net/Makefile
 sed 's/^X//' >/usr/ports/www/ocaml-net/Makefile << 'END-of-/usr/ports/www/ocaml-net/Makefile'
 X# New ports collection makefile for:   ocaml-net
 X# Date created:        01 March 2003
 X# Whom:                Stephane Legrand <stephane at freebsd.org>
 X#
 X# $FreeBSD: ports/www/ocaml-net/Makefile,v 1.12 2008/04/10 06:46:34 stas Exp $
 X#
 X
 XPORTNAME=	net
 XPORTVERSION=	2.2.9
 XPORTREVISION=	2
 XCATEGORIES=	www
 XMASTER_SITES=	http://download.camlcity.org/download/
 XPKGNAMEPREFIX=	ocaml-
 XDISTNAME=	ocaml${PORTNAME}-${PORTVERSION}
 X
 XMAINTAINER=	manfred.lotz at yahoo.de
 XCOMMENT=	OCaml modules for Internet applications
 X
 XBUILD_DEPENDS=	${SA_DIR}/pcre/pcre.a:${PORTSDIR}/devel/ocaml-pcre
 XRUN_DEPENDS=	${SA_DIR}/pcre/pcre.a:${PORTSDIR}/devel/ocaml-pcre
 X
 XCONFLICTS=	ocaml-equeue-2* ocaml-netclient-0*
 X
 XUSE_GMAKE=	yes
 XUSE_OCAML=	yes
 XUSE_OCAML_FINDLIB=	yes
 XUSE_OCAML_LDCONFIG=	yes
 XUSE_OCAML_PLIST=	yes
 XHAS_CONFIGURE=	yes
 X
 XALL_TARGET=	all opt
 X
 XPLIST_FILES=	bin/netplex-admin \
 X		bin/ocamlrpcgen
 X
 XDOCSDIR=	${PREFIX}/share/doc/ocaml/${PKGNAMEPREFIX}${PORTNAME}
 XEXAMPLESDIR=	${PREFIX}/share/examples/ocaml/${PKGNAMEPREFIX}${PORTNAME}
 XSA_DIR=		${LOCALBASE}/${OCAML_SITELIBDIR}
 X
 X.if !defined(NOPORTDOCS)
 XPORTDOCS=	*
 XPORTEXAMPLES=	*
 X.endif
 X
 XOCAML_PKGDIRS=	netsys netshm equeue shell netstring rpc-generator \
 X		rpc pop smtp netclient netcgi1 netcgi2 cgi netplex \
 X		netcgi2-plex
 X
 XOPTIONS=	SSL "Enable SSL support" ON \
 X		NETHTTPD "Enable the integrated HTTP daemon" OFF \
 X		AUTH_DH "Enable Diffie-Hellman authorization support" OFF \
 X		GTK "Enable GTK support" OFF \
 X		GTK2 "Enable GTK2 support" OFF \
 X		APACHE "Enable Apache mod connector (experimental)" OFF
 X
 X.include <bsd.port.pre.mk>
 X
 X.if defined(WITHOUT_SSL)
 XCONFIGURE_ARGS+=        -disable-ssl
 X.else
 XCONFIGURE_ARGS+=        -enable-ssl
 XBUILD_DEPENDS+=         ${SA_DIR}/ssl/ssl.a:${PORTSDIR}/security/ocaml-ssl
 XRUN_DEPENDS+=           ${SA_DIR}/ssl/ssl.a:${PORTSDIR}/security/ocaml-ssl
 XOCAML_PKGDIRS+=         equeue-ssl rpc-ssl
 X.endif
 X
 X.if defined(WITH_NETHTTPD)
 XCONFIGURE_ARGS+=        -with-nethttpd
 XOCAML_PKGDIRS+=         nethttpd nethttpd-for-netcgi1 nethttpd-for-netcgi2
 X.else
 XCONFIGURE_ARGS+=        -without-nethttpd
 X.endif
 X
 X.if defined(WITH_AUTH_DH)
 XCONFIGURE_ARGS+=        -with-rpc-auth-dh
 XBUILD_DEPENDS+=         ${SA_DIR}/cryptgps/cryptgps.a:${PORTSDIR}/security/ocaml-cryptgps
 XRUN_DEPENDS+=           ${SA_DIR}/cryptgps/cryptgps.a:${PORTSDIR}/security/ocaml-cryptgps
 XOCAML_PKGDIRS+=         rpc-auth-dh
 X.else
 XCONFIGURE_ARGS+=        -without-rpc-auth-dh
 X.endif
 X
 X.if defined(WITH_GTK)
 XCONFIGURE_ARGS+=        -enable-gtk
 XBUILD_DEPENDS+=         lablgtk:${PORTSDIR}/x11-toolkits/ocaml-lablgtk
 XRUN_DEPENDS+=           lablgtk:${PORTSDIR}/x11-toolkits/ocaml-lablgtk
 XOCAML_PKGDIRS+=         equeue-gtk1
 X.else
 XCONFIGURE_ARGS+=        -disable-gtk
 X.endif
 X
 X.if defined(WITH_GTK2)
 XCONFIGURE_ARGS+=	-enable-gtk2
 XBUILD_DEPENDS+=		lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2
 XRUN_DEPENDS+=		lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2
 XOCAML_PKGDIRS+=		equeue-gtk2
 X.else
 XCONFIGURE_ARGS+=	-disable-gtk2
 X.endif
 X
 X.if defined(WITH_APACHE)
 XUSE_APACHE=		1.3+
 XCONFIGURE_ARGS+=	-enable-apache -apxs ${APXS} -apache ${HTTPD}
 XOCAML_PKGDIRS+=		netcgi_apache
 X.else
 XCONFIGURE_ARGS+=	-disable-apache
 X.endif
 X
 Xpost-install:
 X.if !defined(NOPORTDOCS)
 X	@${MKDIR} ${DOCSDIR}/
 X	@(cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} \* ${DOCSDIR}/)
 X
 X	@${MKDIR} ${EXAMPLESDIR}/
 X	@(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}/)
 X.endif
 X
 X.include <bsd.port.post.mk>
 END-of-/usr/ports/www/ocaml-net/Makefile
 echo x - /usr/ports/www/ocaml-net/distinfo
 sed 's/^X//' >/usr/ports/www/ocaml-net/distinfo << 'END-of-/usr/ports/www/ocaml-net/distinfo'
 XMD5 (ocamlnet-2.2.9.tar.gz) = 3655e3be3bb2806e0a1f48bb7ce16fb3
 XSHA256 (ocamlnet-2.2.9.tar.gz) = 134530a4357879e095bdbbb5f21f78634a16ef4d787eb151676b7fee7e4c0dc9
 XSIZE (ocamlnet-2.2.9.tar.gz) = 1877257
 END-of-/usr/ports/www/ocaml-net/distinfo
 echo x - /usr/ports/www/ocaml-net/pkg-descr
 sed 's/^X//' >/usr/ports/www/ocaml-net/pkg-descr << 'END-of-/usr/ports/www/ocaml-net/pkg-descr'
 XA collection of modules for the Objective Caml language which focus
 Xon application-level Internet protocols and conventions.
 X
 XOcamlnet consists of a number of libraries:
 X
 X    * netstring is about processing strings that occur in network context
 X    * netcgi1 and netcgi2 focus on portable web applications
 X    * nethttpd is a web server component (HTTP server implementation)
 X    * netplex is a generic server framework
 X    * rpc implements OncRPC
 X    * netclient implements clients for HTTP, FTP, and Telnet
 X    * equeue is an event queue used for many protocol implementations
 X    * shell is about calling external commands
 X    * netshm provides shared memory for IPC purposes
 X    * netsys contains bindings for system functions
 X    * smtp and pop are two further client implementations
 X
 XWWW: http://sourceforge.net/projects/ocamlnet
 X
 X- Manfred  Lotz
 X  <manfred.lotz at yahoo.de>
 END-of-/usr/ports/www/ocaml-net/pkg-descr
 exit
 
 
 --Boundary-00=_k5cDIEcwK24Qd2C--



More information about the freebsd-ports-bugs mailing list