Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Dec 2007 19:28:41 -0500 (EST)
From:      "Thomas V. Crimi" <tcrimi@procida.us>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/118800: New port: ocaml-pgocaml type-safe PostgreSQL interface for OCaml, requires ocaml-csv which I recently submitted.
Message-ID:  <20071218002841.85FA54AC51@sgt.procida.us>
Resent-Message-ID: <200712180110.lBI1A2Nh037972@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         118800
>Category:       ports
>Synopsis:       New port: ocaml-pgocaml type-safe PostgreSQL interface for OCaml, requires ocaml-csv which I recently submitted.
>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:

	

--- pgocaml.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-pgocaml
#	ocaml-pgocaml/Makefile
#	ocaml-pgocaml/distinfo
#	ocaml-pgocaml/pkg-descr
#	ocaml-pgocaml/files
#	ocaml-pgocaml/files/patch-Makefile
#
echo c - ocaml-pgocaml
mkdir -p ocaml-pgocaml > /dev/null 2>&1
echo x - ocaml-pgocaml/Makefile
sed 's/^X//' >ocaml-pgocaml/Makefile << 'END-of-ocaml-pgocaml/Makefile'
X# New ports collection makefile for:	ocaml-calendar
X# Date created:				Feb 26, 2007
X# Whom:					Jaap Boender <jaapb@kerguelen.org>
X#
X# $FreeBSD: ports/devel/ocaml-calendar/Makefile,v 1.2 2007/05/19 20:03:16 flz Exp $
X#
X
XPORTNAME=	pgocaml
XPORTVERSION=	1.0
XCATEGORIES=	devel
XMASTER_SITES=	http://merjis.com/_file/
XPKGNAMEPREFIX=  ocaml-
X
XMAINTAINER=	tcrimi@gmail.com
XCOMMENT=	An OCaml interface to PostgreSQL
X
XBUILD_DEPENDS=  ${LOCALBASE}/${OCAML_SITELIBDIR}/extlib:${PORTSDIR}/devel/ocaml-extlib
XBUILD_DEPENDS=  ${LOCALBASE}/${OCAML_SITELIBDIR}/pcre:${PORTSDIR}/devel/ocaml-pcre
XBUILD_DEPENDS=  ${LOCALBASE}/${OCAML_SITELIBDIR}/calendar:${PORTSDIR}/devel/ocaml-calendar
XBUILD_DEPENDS=  ${LOCALBASE}/${OCAML_SITELIBDIR}/csv:${PORTSDIR}/devel/ocaml-csv
X
XUSE_GMAKE=	yes
XUSE_OCAML=	yes
XUSE_OCAML_FINDLIB=	yes
XOCAML_PKGDIRS=	pgocaml
X
XINSTALL_TARGET=	findlib_install
X
X.include <bsd.port.pre.mk>
X.include "${PORTSDIR}/lang/ocaml/bsd.ocaml.mk"
X.include <bsd.port.post.mk>
END-of-ocaml-pgocaml/Makefile
echo x - ocaml-pgocaml/distinfo
sed 's/^X//' >ocaml-pgocaml/distinfo << 'END-of-ocaml-pgocaml/distinfo'
XMD5 (pgocaml-1.0.tar.gz) = 4f12ab37e75cc863560600e458e202d5
XSHA256 (pgocaml-1.0.tar.gz) = 57116434f10d50a72e62425e78619091162e7458005ab3301b60e16138873ad8
XSIZE (pgocaml-1.0.tar.gz) = 36288
END-of-ocaml-pgocaml/distinfo
echo x - ocaml-pgocaml/pkg-descr
sed 's/^X//' >ocaml-pgocaml/pkg-descr << 'END-of-ocaml-pgocaml/pkg-descr'
XPG'OCaml is a type-safe, simple interface to PostgreSQL from OCaml. It lets you
Xembed SQL statements directly into OCaml code.
X
XWWW: http://merjis.com/developers/pgocaml
END-of-ocaml-pgocaml/pkg-descr
echo c - ocaml-pgocaml/files
mkdir -p ocaml-pgocaml/files > /dev/null 2>&1
echo x - ocaml-pgocaml/files/patch-Makefile
sed 's/^X//' >ocaml-pgocaml/files/patch-Makefile << 'END-of-ocaml-pgocaml/files/patch-Makefile'
X--- Makefile.orig	2007-12-17 18:15:17.332386495 -0500
X+++ Makefile	2007-12-17 18:19:21.926038900 -0500
X@@ -36,7 +36,7 @@
X OBJS	:= pGOCaml_config.cmo pGOCaml.cmo
X XOBJS	:= $(OBJS:.cmo=.cmx)
X 
X-all:	pGOCaml_config.ml pgocaml.cma pgocaml.cmxa pa_pgsql.cmo test_pgocaml_lowlevel$(EXECUTABLE_SUFFIX) test_pgocaml$(EXECUTABLE_SUFFIX) pgocaml_prof$(EXECUTABLE_SUFFIX) META
X+all:	pGOCaml_config.ml pgocaml.cma pgocaml.cmxa pa_pgsql.cmo pgocaml_prof$(EXECUTABLE_SUFFIX) META
X 
X test_pgocaml_lowlevel$(EXECUTABLE_SUFFIX): test_pgocaml_lowlevel.cmo pgocaml.cma
X 	ocamlfind ocamlc $(OCAMLCFLAGS) $(OCAMLCPACKAGES) $(OCAMLCLIBS) \
X@@ -99,8 +99,8 @@
X 
X .depend: pGOCaml_config.ml
X 	rm -f .depend
X-	ocamldep pGOCaml.mli pGOCaml.ml test_pgocaml_lowlevel.ml > $@
X-	-ocamldep -pp "camlp4o $(FOR_P4) ./pa_pgsql.cmo" test_pgocaml.ml >> $@
X+	ocamldep pGOCaml.mli pGOCaml.ml > $@
X+	-ocamldep -pp "camlp4o $(FOR_P4) ./pa_pgsql.cmo" >> $@
X 
X ifeq ($(wildcard .depend),.depend)
X include .depend
X@@ -109,11 +109,11 @@
X # Install.
X 
X findlib_install:
X-	ocamlfind install pgocaml META pgocaml.{,cm{,x}}a pGOCaml.cm[ix] pa_pgsql.cmo
X+	ocamlfind install pgocaml META pgocaml.*a pGOCaml.cm[ix] pa_pgsql.cmo
X 
X reinstall:
X 	ocamlfind remove pgocaml
X-	ocamlfind install pgocaml META pgocaml.{,cm{,x}}a pGOCaml.cm[ix] pa_pgsql.cmo
X+	ocamlfind install pgocaml META pgocaml.*a pGOCaml.cm[ix] pa_pgsql.cmo
X 
X install:
X 	rm -rf $(DESTDIR)$(OCAMLLIBDIR)/pgocaml
END-of-ocaml-pgocaml/files/patch-Makefile
exit
--- pgocaml.port ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071218002841.85FA54AC51>