From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Aug 6 17:30:23 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 486CB16A4CE for ; Fri, 6 Aug 2004 17:30:23 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3103543D39 for ; Fri, 6 Aug 2004 17:30:23 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i76HUMop026564 for ; Fri, 6 Aug 2004 17:30:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i76HUMSF026559; Fri, 6 Aug 2004 17:30:22 GMT (envelope-from gnats) Resent-Date: Fri, 6 Aug 2004 17:30:22 GMT Resent-Message-Id: <200408061730.i76HUMSF026559@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Marwan Burelle " Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E8A916A4CE for ; Fri, 6 Aug 2004 17:25:41 +0000 (GMT) Received: from lri.lri.fr (lri.lri.fr [129.175.15.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3295143D55 for ; Fri, 6 Aug 2004 17:25:38 +0000 (GMT) (envelope-from marwan.burelle@lri.fr) Received: from localhost (localhost [127.0.0.1]) by lri.lri.fr (Postfix) with ESMTP id 7037819E952; Fri, 6 Aug 2004 19:25:37 +0200 (CEST) Received: from lri.lri.fr ([127.0.0.1]) by localhost (lri.lri.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 11686-05; Fri, 6 Aug 2004 19:25:37 +0200 (CEST) Received: from pc5-179.lri.fr (pc5-179 [129.175.5.179]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by lri.lri.fr (Postfix) with ESMTP id 4227E19E866; Fri, 6 Aug 2004 19:25:37 +0200 (CEST) Received: from pc5-179.lri.fr (pc5-179.lri.fr [129.175.5.179]) by pc5-179.lri.fr (8.12.10/8.12.10) with ESMTP id i76HPWpM092066; Fri, 6 Aug 2004 19:25:33 +0200 (CEST) (envelope-from marwan.burelle@lri.fr) Message-Id: <1091813133.0@pc5-179.lri.fr> Date: Fri, 6 Aug 2004 19:25:33 +0200 From: "Marwan Burelle " To: "FreeBSD gnats submit" X-Send-Pr-Version: gtk-send-pr 0.3.3 cc: marwan.burelle@lri.fr Subject: ports/70085: New port: ftp/ocaml-ocurl An interface for OCaml to the curl lib X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Aug 2004 17:30:23 -0000 >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 >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 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 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 END-of-/usr/ports/ftp/ocaml-ocurl/Makefile exit --- ocaml-ocurl.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: