summaryrefslogtreecommitdiff
path: root/databases/ocaml-dbm
diff options
context:
space:
mode:
authorjaapb <jaapb@pkgsrc.org>2013-07-06 11:18:39 +0000
committerjaapb <jaapb@pkgsrc.org>2013-07-06 11:18:39 +0000
commit55b1b4e3306a73dbef68389272e9fed1f301a0a8 (patch)
tree20c25fda57d60e4f36de0557fc474f10f2a329b2 /databases/ocaml-dbm
parentf59f07a65770570ce283d3a184df7013ba8b418a (diff)
downloadpkgsrc-55b1b4e3306a73dbef68389272e9fed1f301a0a8.tar.gz
Added installation of META file. This results in a conflict with old
ocaml-findlib versions.
Diffstat (limited to 'databases/ocaml-dbm')
-rw-r--r--databases/ocaml-dbm/Makefile10
-rw-r--r--databases/ocaml-dbm/PLIST3
2 files changed, 10 insertions, 3 deletions
diff --git a/databases/ocaml-dbm/Makefile b/databases/ocaml-dbm/Makefile
index bd5d7399389..bfb8f25627c 100644
--- a/databases/ocaml-dbm/Makefile
+++ b/databases/ocaml-dbm/Makefile
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.1 2012/12/15 10:25:52 jaapb Exp $
+# $NetBSD: Makefile,v 1.2 2013/07/06 11:18:39 jaapb Exp $
#
PKGNAME= ocaml-dbm-${PKGVERSION}
DISTNAME= camldbm-${PKGVERSION}
PKGVERSION= 1.0
+PKGREVISION= 1
CATEGORIES= databases
MASTER_SITES= http://forge.ocamlcore.org/frs/download.php/728/
EXTRACT_SUFX= .tgz
@@ -13,10 +14,15 @@ HOMEPAGE= http://camldbm.forge.ocamlcore.org/
COMMENT= OCaml binding to the NDBM and GDBM database library
LICENSE= gnu-lgpl-v2
+CONFLICTS= ocaml-findlib<1.4nb1
+
HAS_CONFIGURE= yes
MAKE_ENV+= DESTDIR="${DESTDIR}"
-INSTALLATION_DIRS= lib/ocaml/stublibs
+INSTALLATION_DIRS= lib/ocaml/stublibs lib/ocaml/site-lib/dbm
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/META ${DESTDIR}${PREFIX}/lib/ocaml/site-lib/dbm
.include "../../databases/gdbm/buildlink3.mk"
.include "../../lang/ocaml/buildlink3.mk"
diff --git a/databases/ocaml-dbm/PLIST b/databases/ocaml-dbm/PLIST
index 437d798840e..9816c635fd6 100644
--- a/databases/ocaml-dbm/PLIST
+++ b/databases/ocaml-dbm/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2012/12/15 10:25:52 jaapb Exp $
+@comment $NetBSD: PLIST,v 1.2 2013/07/06 11:18:39 jaapb Exp $
lib/ocaml/dbm.a
lib/ocaml/dbm.cma
lib/ocaml/dbm.cmi
@@ -6,4 +6,5 @@ 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