From owner-svn-ports-head@FreeBSD.ORG Thu Mar 27 09:41:46 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B8206E1B; Thu, 27 Mar 2014 09:41:46 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 97F6F85D; Thu, 27 Mar 2014 09:41:46 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s2R9fkqE002501; Thu, 27 Mar 2014 09:41:46 GMT (envelope-from marino@svn.freebsd.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s2R9fjMs002491; Thu, 27 Mar 2014 09:41:45 GMT (envelope-from marino@svn.freebsd.org) Message-Id: <201403270941.s2R9fjMs002491@svn.freebsd.org> From: John Marino Date: Thu, 27 Mar 2014 09:41:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r349322 - in head/databases: . ocaml-dbm ocaml-dbm/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Mar 2014 09:41:46 -0000 Author: marino Date: Thu Mar 27 09:41:44 2014 New Revision: 349322 URL: http://svnweb.freebsd.org/changeset/ports/349322 QAT: https://qat.redports.org/buildarchive/r349322/ Log: Add new Ocaml port: databases/dbm The initial version submitted in the PR was augmented by later changes seen in pkgsrc where the counterpart is maintained by the submitter. == This OCaml library is a binding to the NDBM/GDBM Unix "databases". It provides persistent storage of key-value pairs of strings. WWW: http://forge.ocamlcore.org/projects/camldbm/ == PR: ports/176115 Submitted by: Jaap Boender Maintainer: Jaap Boender Stage support: Taken from pkgsrc Added: head/databases/ocaml-dbm/ head/databases/ocaml-dbm/Makefile (contents, props changed) head/databases/ocaml-dbm/distinfo (contents, props changed) head/databases/ocaml-dbm/files/ head/databases/ocaml-dbm/files/patch-META (contents, props changed) head/databases/ocaml-dbm/files/patch-Makefile (contents, props changed) head/databases/ocaml-dbm/pkg-descr (contents, props changed) head/databases/ocaml-dbm/pkg-plist (contents, props changed) Modified: head/databases/Makefile Modified: head/databases/Makefile ============================================================================== --- head/databases/Makefile Thu Mar 27 09:22:54 2014 (r349321) +++ head/databases/Makefile Thu Mar 27 09:41:44 2014 (r349322) @@ -250,6 +250,7 @@ SUBDIR += nagios-check_redis SUBDIR += namazu2 SUBDIR += ntdb + SUBDIR += ocaml-dbm SUBDIR += ocaml-mysql SUBDIR += ocaml-pgocaml SUBDIR += ocaml-sqlite3 Added: head/databases/ocaml-dbm/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/ocaml-dbm/Makefile Thu Mar 27 09:41:44 2014 (r349322) @@ -0,0 +1,32 @@ +# Created by: Jaap Boender +# $FreeBSD$ + +PORTNAME= dbm +PORTVERSION= 1.0 +CATEGORIES= databases +MASTER_SITES= https://forge.ocamlcore.org/frs/download.php/728/ +PKGNAMEPREFIX= ocaml- +DISTNAME= caml${PORTNAME}-${PORTVERSION} +EXTRACT_SUFX= .tgz + +MAINTAINER= jaapb@kerguelen.org +COMMENT= OCaml binding to the NDBM and GDBM database library + +LICENSE= LGPL20 + +CONFLICTS= ocaml-[0-3]* ocaml-nox11-[0-3]* + +HAS_CONFIGURE= yes +USE_OCAML= yes +DOCSDIR= ${PREFIX}/share/doc/ocaml/${PORTNAME} +MAKE_ENV+= DESTDIR="${STAGEDIR}" + +pre-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/ocaml/site-lib/dbm \ + ${STAGEDIR}${PREFIX}/lib/ocaml/stublibs + +post-install: + ${INSTALL_DATA} ${WRKSRC}/META \ + ${STAGEDIR}${PREFIX}/lib/ocaml/site-lib/dbm + +.include Added: head/databases/ocaml-dbm/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/ocaml-dbm/distinfo Thu Mar 27 09:41:44 2014 (r349322) @@ -0,0 +1,2 @@ +SHA256 (camldbm-1.0.tgz) = 19741fa7827c306ae43b18170b01f5547326ec7ea6c2f4bd80c93439b5ff538f +SIZE (camldbm-1.0.tgz) = 14397 Added: head/databases/ocaml-dbm/files/patch-META ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/ocaml-dbm/files/patch-META Thu Mar 27 09:41:44 2014 (r349322) @@ -0,0 +1,10 @@ +$NetBSD: patch-META,v 1.1 2013/07/21 17:04:29 jaapb Exp $ + +point to correct directory for library files +--- META.orig 2011-11-22 15:56:49.000000000 +0000 ++++ META +@@ -3,3 +3,4 @@ requires = "" + version = "1.0" + archive(byte) = "dbm.cma" + archive(native) = "dbm.cmxa" ++directory = "^" Added: head/databases/ocaml-dbm/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/ocaml-dbm/files/patch-Makefile Thu Mar 27 09:41:44 2014 (r349322) @@ -0,0 +1,27 @@ +$NetBSD: patch-Makefile,v 1.1 2012/12/15 10:25:52 jaapb Exp $ + +Install into DESTDIR +--- Makefile.orig 2011-11-22 15:56:49.000000000 +0000 ++++ Makefile +@@ -57,13 +57,14 @@ depend: + $(OCAMLDEP) *.ml *.mli > .depend + + install:: +- if test -f dllcamldbm.$(SO); then cp dllcamldbm.$(SO) $(STUBLIBDIR)/; fi +- cp libcamldbm.$(A) $(LIBDIR)/ +- cd $(LIBDIR) && ranlib libcamldbm.$(A) +- cp dbm.cma dbm.cmxa dbm.cmi dbm.mli $(LIBDIR)/ +- cp dbm.$(A) $(LIBDIR)/ +- cd $(LIBDIR) && ranlib dbm.$(A) +- if test -f dbm.cmxs; then cp dbm.cmxs $(LIBDIR)/; fi ++ if test -f dllcamldbm.$(SO); then cp dllcamldbm.$(SO) \ ++ $(DESTDIR)/$(STUBLIBDIR)/; fi ++ cp libcamldbm.$(A) $(DESTDIR)/$(LIBDIR)/ ++ cd $(DESTDIR)/$(LIBDIR) && ranlib libcamldbm.$(A) ++ cp dbm.cma dbm.cmxa dbm.cmi dbm.mli $(DESTDIR)/$(LIBDIR)/ ++ cp dbm.$(A) $(DESTDIR)/$(LIBDIR)/ ++ cd $(DESTDIR)/$(LIBDIR) && ranlib dbm.$(A) ++ if test -f dbm.cmxs; then cp dbm.cmxs $(DESTDIR)/$(LIBDIR)/; fi + + clean:: + rm -f *.cm* *.$(O) *.$(A) *.$(SO) Added: head/databases/ocaml-dbm/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/ocaml-dbm/pkg-descr Thu Mar 27 09:41:44 2014 (r349322) @@ -0,0 +1,4 @@ +This OCaml library is a binding to the NDBM/GDBM Unix "databases". It +provides persistent storage of key-value pairs of strings. + +WWW: http://forge.ocamlcore.org/projects/camldbm/ Added: head/databases/ocaml-dbm/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/ocaml-dbm/pkg-plist Thu Mar 27 09:41:44 2014 (r349322) @@ -0,0 +1,11 @@ +lib/ocaml/dbm.a +lib/ocaml/dbm.cma +lib/ocaml/dbm.cmi +lib/ocaml/dbm.cmxa +lib/ocaml/dbm.cmxs +lib/ocaml/dbm.mli +lib/ocaml/libcamldbm.a +lib/ocaml/site-lib/dbm/META +lib/ocaml/stublibs/dllcamldbm.so +@dirrm lib/ocaml/site-lib/dbm +@dirrmtry lib/ocaml/site-lib