summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorobache <obache>2011-10-17 08:44:32 +0000
committerobache <obache>2011-10-17 08:44:32 +0000
commit4b91706d464c6fa0388ddd4be11c92627b61eee5 (patch)
treeaa7d9bdba7b26fd4f5653879a69c04fd92b8d7b9 /databases
parent9aa2730c640af7d99759ff42b047290c9a2fbabe (diff)
downloadpkgsrc-4b91706d464c6fa0388ddd4be11c92627b61eee5.tar.gz
Import gdbm_compat-1.9.1 as databases/gdbm_compat.
GNU `dbm' is a library of functions implementing a hashed database on a disk file. The software was written by Philip A. Nelson. This is the optional dbm and ndbm API compatibility library and headers.
Diffstat (limited to 'databases')
-rw-r--r--databases/gdbm_compat/DESCR4
-rw-r--r--databases/gdbm_compat/Makefile19
-rw-r--r--databases/gdbm_compat/PLIST4
-rw-r--r--databases/gdbm_compat/buildlink3.mk15
4 files changed, 42 insertions, 0 deletions
diff --git a/databases/gdbm_compat/DESCR b/databases/gdbm_compat/DESCR
new file mode 100644
index 00000000000..39c034d6999
--- /dev/null
+++ b/databases/gdbm_compat/DESCR
@@ -0,0 +1,4 @@
+GNU `dbm' is a library of functions implementing a hashed database
+on a disk file. The software was written by Philip A. Nelson.
+
+This is the optional dbm and ndbm API compatibility library and headers.
diff --git a/databases/gdbm_compat/Makefile b/databases/gdbm_compat/Makefile
new file mode 100644
index 00000000000..39fbd55de54
--- /dev/null
+++ b/databases/gdbm_compat/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/10/17 08:44:32 obache Exp $
+#
+
+.include "../../databases/gdbm/Makefile.common"
+
+PKGNAME= ${DISTNAME:S/-/_compat-/}
+
+COMMENT+= dbm and ndbm compat library
+
+DEPENDS+= gdbm-${PKGVERSION_NOREV}{,nb[0-9]*}:../../databases/gdbm
+
+PKG_DESTDIR_SUPPORT= user-destdir
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+CONFIGURE_ARGS+= --enable-libgdbm-compat
+
+BUILD_DIRS= compat
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/gdbm_compat/PLIST b/databases/gdbm_compat/PLIST
new file mode 100644
index 00000000000..4a30afeed61
--- /dev/null
+++ b/databases/gdbm_compat/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2011/10/17 08:44:32 obache Exp $
+include/dbm.h
+include/ndbm.h
+lib/libgdbm_compat.la
diff --git a/databases/gdbm_compat/buildlink3.mk b/databases/gdbm_compat/buildlink3.mk
new file mode 100644
index 00000000000..985dd836356
--- /dev/null
+++ b/databases/gdbm_compat/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2011/10/17 08:44:32 obache Exp $
+#
+
+BUILDLINK_TREE+= gdbm_compat
+
+.if !defined(GDBM_COMPAT_BUILDLINK3_MK)
+GDBM_COMPAT_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.gdbm_compat+= gdbm_compat>=1.9.1
+BUILDLINK_PKGSRCDIR.gdbm_compat?= ../../databases/gdbm_compat
+
+.include "../../databases/gdbm/buildlink3.mk"
+.endif # GDBM_COMPAT_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -gdbm_compat