From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Feb 8 15:10:23 2005 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 5064F16A4CE for ; Tue, 8 Feb 2005 15:10:23 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C078943D49 for ; Tue, 8 Feb 2005 15:10:22 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j18FAMCY095294 for ; Tue, 8 Feb 2005 15:10:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j18FAM1U095293; Tue, 8 Feb 2005 15:10:22 GMT (envelope-from gnats) Resent-Date: Tue, 8 Feb 2005 15:10:22 GMT Resent-Message-Id: <200502081510.j18FAM1U095293@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 A22ED16A4CE for ; Tue, 8 Feb 2005 15:02:22 +0000 (GMT) Received: from lri.lri.fr (lri.lri.fr [129.175.15.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 89AB443D1F for ; Tue, 8 Feb 2005 15:02:21 +0000 (GMT) (envelope-from marwan.burelle@lri.fr) Received: from localhost (localhost [127.0.0.1]) by lri.lri.fr (Postfix) with ESMTP id 6BC4019E9EC; Tue, 8 Feb 2005 16:02:20 +0100 (CET) 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 26382-06; Tue, 8 Feb 2005 16:02:20 +0100 (CET) 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 4167019E9D6; Tue, 8 Feb 2005 16:02:20 +0100 (CET) Received: from pc5-179.lri.fr (pc5-179.lri.fr [129.175.5.179]) by pc5-179.lri.fr (8.13.1/8.13.1) with ESMTP id j18F2EIX018193; Tue, 8 Feb 2005 16:02:14 +0100 (CET) (envelope-from marwan.burelle@lri.fr) Message-Id: <1107874934.0@pc5-179.lri.fr> Date: Tue, 8 Feb 2005 16:02:14 +0100 From: "Marwan Burelle " To: "FreeBSD gnats submit" X-Send-Pr-Version: gtk-send-pr 0.4.3 cc: marwan.burelle@lri.fr Subject: ports/77266: New port: textproc/ocaml-expat ocaml bonding to the expat library 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: Tue, 08 Feb 2005 15:10:23 -0000 >Number: 77266 >Category: ports >Synopsis: New port: textproc/ocaml-expat ocaml bonding to the expat library >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: Tue Feb 08 15:10:22 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Marwan Burelle >Release: FreeBSD 5.3-STABLE i386 >Organization: >Environment: System: FreeBSD 5.3-STABLE #0: Fri Feb 4 18:45:33 CET 2005 root@:/usr/home/obj/usr/src/sys/KER_pc5-179 >Description: An ocaml wrapper for the Expat XML parsing library. >How-To-Repeat: >Fix: --- ocaml-expat.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/textproc/ocaml-expat # /usr/ports/textproc/ocaml-expat/pkg-install # /usr/ports/textproc/ocaml-expat/pkg-descr # /usr/ports/textproc/ocaml-expat/distinfo # /usr/ports/textproc/ocaml-expat/Makefile # /usr/ports/textproc/ocaml-expat/files # /usr/ports/textproc/ocaml-expat/files/patch-aa # echo c - /usr/ports/textproc/ocaml-expat mkdir -p /usr/ports/textproc/ocaml-expat > /dev/null 2>&1 echo x - /usr/ports/textproc/ocaml-expat/pkg-install sed 's/^X//' >/usr/ports/textproc/ocaml-expat/pkg-install << 'END-of-/usr/ports/textproc/ocaml-expat/pkg-install' X#!/bin/sh X Xif [ "$2" = "POST-INSTALL" ]; then X echo "${PKG_PREFIX}/lib/ocaml/site-lib/expat" >> ${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 expat ${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/textproc/ocaml-expat/pkg-install echo x - /usr/ports/textproc/ocaml-expat/pkg-descr sed 's/^X//' >/usr/ports/textproc/ocaml-expat/pkg-descr << 'END-of-/usr/ports/textproc/ocaml-expat/pkg-descr' XAn ocaml wrapper for the Expat XML parsing library. X XWWW: http://www.xs4all.nl/~mmzeeman/ocaml X X- Marwan Burelle X END-of-/usr/ports/textproc/ocaml-expat/pkg-descr echo x - /usr/ports/textproc/ocaml-expat/distinfo sed 's/^X//' >/usr/ports/textproc/ocaml-expat/distinfo << 'END-of-/usr/ports/textproc/ocaml-expat/distinfo' XMD5 (ocaml-expat-0.1.0.tar.gz) = c8e429fafbb2508cf5525d5ff686efeb XSIZE (ocaml-expat-0.1.0.tar.gz) = 11471 END-of-/usr/ports/textproc/ocaml-expat/distinfo echo x - /usr/ports/textproc/ocaml-expat/Makefile sed 's/^X//' >/usr/ports/textproc/ocaml-expat/Makefile << 'END-of-/usr/ports/textproc/ocaml-expat/Makefile' X# ex:ts=8 X# Ports collection makefile for: ocaml-expat X# Date created: Sept 15, 2004 X# Whom: Marwan Burelle > ${TMPPLIST} X @${ECHO_CMD} "@dirrm lib/ocaml/site-lib/expat" >> ${TMPPLIST} X @${ECHO_CMD} "@unexec ocamlfind remove expat 2>/dev/null || true" >> ${TMPPLIST} X PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${WRKSRC}/doc/*.css ${DOCSDIR} X.endif X X.include END-of-/usr/ports/textproc/ocaml-expat/Makefile echo c - /usr/ports/textproc/ocaml-expat/files mkdir -p /usr/ports/textproc/ocaml-expat/files > /dev/null 2>&1 echo x - /usr/ports/textproc/ocaml-expat/files/patch-aa sed 's/^X//' >/usr/ports/textproc/ocaml-expat/files/patch-aa << 'END-of-/usr/ports/textproc/ocaml-expat/files/patch-aa' X--- Makefile-orig Tue Feb 8 15:20:30 2005 X+++ Makefile Tue Feb 8 15:17:34 2005 X@@ -7,6 +7,8 @@ X EXPAT_LIBDIR=/usr/local/lib X EXPAT_INCDIR=/usr/local/include X X+CAML_INCDIR=/usr/local/lib/ocaml X+ X NAME=expat X OBJECTS=expat.cmo X XOBJECTS=$(OBJECTS:.cmo=.cmx) X@@ -31,7 +33,7 @@ X allopt: $(XARCHIVE) X X depend: *.c *.ml *.mli X- gcc -MM *.c > depend X+ gcc -I$(EXPAT_INCDIR) -I$(CAML_INCDIR) -MM *.c > depend X $(OCAMLDEP) *.mli *.ml >> depend X X ## Library creation END-of-/usr/ports/textproc/ocaml-expat/files/patch-aa exit --- ocaml-expat.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: