Date: Fri, 6 Aug 2004 19:25:33 +0200 From: "Marwan Burelle <marwan.burelle@lri.fr>" <marwan.burelle@lri.fr> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Cc: marwan.burelle@lri.fr Subject: ports/70085: New port: ftp/ocaml-ocurl An interface for OCaml to the curl lib Message-ID: <1091813133.0@pc5-179.lri.fr> Resent-Message-ID: <200408061730.i76HUMSF026559@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 70085 >Category: ports >Synopsis: New port: ftp/ocaml-ocurl An interface for OCaml to the curl lib >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Aug 06 17:30:22 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Marwan Burelle <marwan.burelle@lri.fr> >Release: FreeBSD 5.2.1-RELEASE-p9 i386 >Organization: >Environment: System: FreeBSD 5.2.1-RELEASE-p9 #0: Tue Aug 3 17:28:44 CEST 2004 root@:/usr/home/obj/usr/home/src/sys/KER_pc5-179 >Description: An interface for OCaml to the curl lib >How-To-Repeat: >Fix: --- ocaml-ocurl.shar begins here --- # 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/ftp/ocaml-ocurl/ # /usr/ports/ftp/ocaml-ocurl/pkg-install # /usr/ports/ftp/ocaml-ocurl/pkg-descr # /usr/ports/ftp/ocaml-ocurl/distinfo # /usr/ports/ftp/ocaml-ocurl/Makefile # echo c - /usr/ports/ftp/ocaml-ocurl/ mkdir -p /usr/ports/ftp/ocaml-ocurl/ > /dev/null 2>&1 echo x - /usr/ports/ftp/ocaml-ocurl/pkg-install sed 's/^X//' >/usr/ports/ftp/ocaml-ocurl/pkg-install << 'END-of-/usr/ports/ftp/ocaml-ocurl/pkg-install' X#!/bin/sh X Xif [ "$2" = "POST-INSTALL" ]; then X echo "${PKG_PREFIX}/lib/ocaml/site-lib/curl" >> ${PKG_PREFIX}/lib/ocaml/ld.conf Xelif [ "$2" = "DEINSTALL" ]; then X mv ${PKG_PREFIX}/lib/ocaml/ld.conf ${PKG_PREFIX}/lib/ocaml/ld.conf.tmp X grep -v curl ${PKG_PREFIX}/lib/ocaml/ld.conf.tmp > ${PKG_PREFIX}/lib/ocaml/ld.conf X rm -f ${PKG_PREFIX}/lib/ocaml/ld.conf.tmp Xfi END-of-/usr/ports/ftp/ocaml-ocurl/pkg-install echo x - /usr/ports/ftp/ocaml-ocurl/pkg-descr sed 's/^X//' >/usr/ports/ftp/ocaml-ocurl/pkg-descr << 'END-of-/usr/ports/ftp/ocaml-ocurl/pkg-descr' XThe Ocaml Curl Library (Ocurl) is an interface library for the Xprogramming language Ocaml to the networking library Xlibcurl. Currently Ocurl requires libcurl 7.9.8 or newer (using older Xversions may yield compilation errors). X XWWW: http://sourceforge.net/projects/ocurl X X- Marwan Burelle X <marwan.burelle@lri.fr> END-of-/usr/ports/ftp/ocaml-ocurl/pkg-descr echo x - /usr/ports/ftp/ocaml-ocurl/distinfo sed 's/^X//' >/usr/ports/ftp/ocaml-ocurl/distinfo << 'END-of-/usr/ports/ftp/ocaml-ocurl/distinfo' XMD5 (ocurl-0.2.0.tgz) = 79200fb81232c91002b1e008dd75cba5 XSIZE (ocurl-0.2.0.tgz) = 73868 END-of-/usr/ports/ftp/ocaml-ocurl/distinfo echo x - /usr/ports/ftp/ocaml-ocurl/Makefile sed 's/^X//' >/usr/ports/ftp/ocaml-ocurl/Makefile << 'END-of-/usr/ports/ftp/ocaml-ocurl/Makefile' X# Ports collection makefile for: ocurl X# Date created: Aug 6, 2004 X# Whom: Marwan BURELLE <marwan.burelle@lri.fr> X# $FreeBSD$ X XPORTNAME= ocurl XPORTVERSION= 0.2.0 XCATEGORIES= ftp XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= ${PORTNAME} XPKGNAMEPREFIX= ocaml- XEXTRACT_SUFX= .tgz X XMAINTAINER= marwan.burelle@lri.fr XCOMMENT= An interface for OCaml to the curl lib X XBUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml \ X ocamlfind:${PORTSDIR}/devel/ocaml-findlib XRUN_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml \ X ocamlfind:${PORTSDIR}/devel/ocaml-findlib XLIB_DEPENDS= curl.3:${PORTSDIR}/ftp/curl X XUSE_GMAKE= yes XGNU_CONFIGURE= yes XCONFIGURE_ARGS+="--with-findlib" X XPKGDEINSTALL= ${PKGINSTALL} XFINDLIB_PKGNAME=${PORTNAME:S/o//} X Xpost-install: X @${FIND} ${PREFIX}/lib/ocaml/site-lib/${FINDLIB_PKGNAME} -type f | \ X ${SED} "s,^${PREFIX}/,," >> ${TMPPLIST} X @${ECHO_CMD} "@dirrm lib/ocaml/site-lib/${FINDLIB_PKGNAME}" >> ${TMPPLIST} X @${ECHO_CMD} "@unexec ocamlfind remove ${FINDLIB_PKGNAME} 2>/dev/null || true" >> ${TMPPLIST} X X.include <bsd.port.mk> END-of-/usr/ports/ftp/ocaml-ocurl/Makefile exit --- ocaml-ocurl.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1091813133.0>