From marwan.burelle@lri.fr  Fri Aug  6 17:25:41 2004
Return-Path: <marwan.burelle@lri.fr>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 0E8A916A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <marwan.burelle@lri.fr>" <marwan.burelle@lri.fr>
To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@freebsd.org>
Cc: marwan.burelle@lri.fr
Subject: New port: ftp/ocaml-ocurl An interface for OCaml to the curl lib
X-Send-Pr-Version: gtk-send-pr 0.3.3 
X-GNATS-Notify:

>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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 06 17:30:22 GMT 2004
>Closed-Date:    Sun Aug 08 19:21:28 GMT 2004
>Last-Modified:  Sun Aug 08 19:21:28 GMT 2004
>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:
State-Changed-From-To: open->closed 
State-Changed-By: thierry 
State-Changed-When: Sun Aug 8 19:20:58 GMT 2004 
State-Changed-Why:  

New port added, thanks! 


http://www.freebsd.org/cgi/query-pr.cgi?pr=70085 
>Unformatted:
