From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Dec 18 01:10:03 2007 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25C1216A474 for ; Tue, 18 Dec 2007 01:10:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 11F4013C4E1 for ; Tue, 18 Dec 2007 01:10:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id lBI1A2XZ038000 for ; Tue, 18 Dec 2007 01:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id lBI1A2hE037990; Tue, 18 Dec 2007 01:10:02 GMT (envelope-from gnats) Resent-Date: Tue, 18 Dec 2007 01:10:02 GMT Resent-Message-Id: <200712180110.lBI1A2hE037990@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, "Thomas V. Crimi" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6563C16A417 for ; Tue, 18 Dec 2007 01:05:01 +0000 (UTC) (envelope-from tcrimi@procida.us) Received: from aspis.procida.us (dsl254-079-182.nyc1.dsl.speakeasy.net [216.254.79.182]) by mx1.freebsd.org (Postfix) with ESMTP id 227E313C461 for ; Tue, 18 Dec 2007 01:05:01 +0000 (UTC) (envelope-from tcrimi@procida.us) Received: by sgt.procida.us (Postfix, from userid 501) id E6CF74AC4E; Mon, 17 Dec 2007 19:28:23 -0500 (EST) Message-Id: <20071218002823.E6CF74AC4E@sgt.procida.us> Date: Mon, 17 Dec 2007 19:28:23 -0500 (EST) From: "Thomas V. Crimi" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/118801: New port: devel/ocaml-csv CSV library for OCaml, needed by ocaml-pgocaml X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Thomas V. Crimi" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2007 01:10:03 -0000 >Number: 118801 >Category: ports >Synopsis: New port: devel/ocaml-csv CSV library for OCaml, needed by ocaml-pgocaml >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 Dec 18 01:10:02 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Thomas V. Crimi >Release: FreeBSD 7.0-BETA3 amd64 >Organization: >Environment: System: FreeBSD sgt.crimi.home 7.0-BETA3 FreeBSD 7.0-BETA3 #0: Fri Nov 30 17:30:35 EST 2007 root@sgt.crimi.home:/usr/obj/usr/src/sys/SGT amd64 >Description: >How-To-Repeat: >Fix: --- csv.port 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: # # ocaml-csv # ocaml-csv/distinfo # ocaml-csv/pkg-descr # ocaml-csv/Makefile # ocaml-csv/files # ocaml-csv/files/patch-Makefile # echo c - ocaml-csv mkdir -p ocaml-csv > /dev/null 2>&1 echo x - ocaml-csv/distinfo sed 's/^X//' >ocaml-csv/distinfo << 'END-of-ocaml-csv/distinfo' XMD5 (ocaml-csv-1.1.6.tar.gz) = a91851438f9540b1a445087a4d409507 XSHA256 (ocaml-csv-1.1.6.tar.gz) = ff37843ab5e055950e58a20b8a1989a303f09588aa8547a5b98d6dddb5bee799 XSIZE (ocaml-csv-1.1.6.tar.gz) = 13944 END-of-ocaml-csv/distinfo echo x - ocaml-csv/pkg-descr sed 's/^X//' >ocaml-csv/pkg-descr << 'END-of-ocaml-csv/pkg-descr' XThis library can read and write CSV files, including all extensions used by XExcel - eg. quotes, newlines, 8 bit characters in fields, "0 etc. X XWWW: http://merjis.com/developers/csv END-of-ocaml-csv/pkg-descr echo x - ocaml-csv/Makefile sed 's/^X//' >ocaml-csv/Makefile << 'END-of-ocaml-csv/Makefile' X# New ports collection makefile for: ocaml-calendar X# Date created: Feb 26, 2007 X# Whom: Jaap Boender X# X# $FreeBSD: ports/devel/ocaml-calendar/Makefile,v 1.2 2007/05/19 20:03:16 flz Exp $ X# X XPORTNAME= ocaml-csv XPORTVERSION= 1.1.6 XCATEGORIES= devel XMASTER_SITES= http://merjis.com/_file/ X XMAINTAINER= tcrimi@gmail.com XCOMMENT= An OCaml library to read and write CSV files X XBUILD_DEPENDS= ${LOCALBASE}/${OCAML_SITELIBDIR}/extlib:${PORTSDIR}/devel/ocaml-extlib X XUSE_GMAKE= yes XUSE_OCAML= yes XUSE_OCAML_FINDLIB= yes XOCAML_PKGDIRS= csv X X.include X.include "${PORTSDIR}/lang/ocaml/bsd.ocaml.mk" X.include END-of-ocaml-csv/Makefile echo c - ocaml-csv/files mkdir -p ocaml-csv/files > /dev/null 2>&1 echo x - ocaml-csv/files/patch-Makefile sed 's/^X//' >ocaml-csv/files/patch-Makefile << 'END-of-ocaml-csv/files/patch-Makefile' X--- Makefile.orig 2007-12-17 17:56:16.458954606 -0500 X+++ Makefile 2007-12-17 17:54:34.177261751 -0500 X@@ -5,11 +5,11 @@ X # To enable support for Extlib, also uncomment 'open ExtList' at the top X # of file csv.ml. X X-OCAMLCINCS := X-#OCAMLCINCS := -package extlib X+#OCAMLCINCS := X+OCAMLCINCS := -package extlib X OCAMLCFLAGS := -g X-OCAMLCLIBS := X-#OCAMLCLIBS := -linkpkg X+#OCAMLCLIBS := X+OCAMLCLIBS := -linkpkg X X OCAMLOPTINCS := $(OCAMLCINCS) X OCAMLOPTFLAGS := X@@ -23,6 +23,20 @@ X X all: csv.cma csv.cmxa example csvtool X X+## The install and META targets were borrowed from Richard W.M. Jones' RPM patch X+install: all META X+ ocamlfind install csv META *.mli $(wildcard *.a) csv.cmi $(wildcard csv.cmx) *.cma $(wildcard *.cmxa) X+# install csvtool ${DESTDIR}${BINDIR} X+ X+META: X+ rm -f $@ X+ echo 'version="${VERSION}"' >> $@ X+ echo 'description="CSV library"' >> $@ X+ echo 'archive(byte)="csv.cma"' >> $@ X+ echo 'archive(native)="csv.cmxa"' >> $@ X+ echo 'requires="extlib"' >> $@ X+ X+ X csv.cma: $(OBJS) X ocamlfind ocamlc $(OCAMLCINCS) $(OCAMLCFLAGS) -a -o $@ $^ X END-of-ocaml-csv/files/patch-Makefile exit --- csv.port ends here --- >Release-Note: >Audit-Trail: >Unformatted: