summaryrefslogtreecommitdiffstats
path: root/databases/py-gdbm
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2000-10-20 09:11:38 +0000
committertg <tg@FreeBSD.org>2000-10-20 09:11:38 +0000
commit69f6502f738c9014e08f37a338c63e48780996aa (patch)
tree64183a2f6ace321d2724f6093919bcdb28f10619 /databases/py-gdbm
parenteca60076e21550b1cb68c63c510ca784e90836d4 (diff)
downloadFreeBSD-ports-69f6502f738c9014e08f37a338c63e48780996aa.zip
FreeBSD-ports-69f6502f738c9014e08f37a338c63e48780996aa.tar.gz
New port py-gdbm; this contains Python bindings to the GNU dbm library.
Diffstat (limited to 'databases/py-gdbm')
-rw-r--r--databases/py-gdbm/Makefile38
-rw-r--r--databases/py-gdbm/distinfo3
-rw-r--r--databases/py-gdbm/files/Setup5
-rw-r--r--databases/py-gdbm/pkg-comment1
-rw-r--r--databases/py-gdbm/pkg-descr1
-rw-r--r--databases/py-gdbm/pkg-plist1
6 files changed, 49 insertions, 0 deletions
diff --git a/databases/py-gdbm/Makefile b/databases/py-gdbm/Makefile
new file mode 100644
index 0000000..2bc138a
--- /dev/null
+++ b/databases/py-gdbm/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: py-gdbm
+# Date created: 03 October 2000
+# Whom: Thomas Gellekum <tg@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gdbm
+PORTVERSION= ${PYTHON_PORTVERSION}
+CATEGORIES= databases python
+MASTER_SITES= ftp://www.python.org/pub/python/src/ \
+ ftp://ftp.cwi.nl/pub/python/src/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTFILES= ${PYTHON_DISTFILE}
+
+MAINTAINER= tg@FreeBSD.org
+
+LIB_DEPENDS= gdbm.2:${PORTSDIR}/databases/gdbm
+
+DIST_SUBDIR= python
+USE_PYTHON= yes
+WRKSRC= ${PYTHON_WRKSRC}/Modules
+CONFIGURE_ENV= PYTHON=${PYTHON_CMD}
+ALL_TARGET= sharedmods
+MAKE_FLAGS= OPT="${CFLAGS}"
+
+post-extract:
+ @${CP} ${FILESDIR}/Setup ${WRKSRC}
+ @${CP} ${PYTHON_LIBDIR}/config/Makefile.pre.in ${WRKSRC}
+
+do-configure:
+ @(cd ${WRKSRC}; \
+ ${SETENV} ${CONFIGURE_ENV} ${MAKE} -f Makefile.pre.in boot)
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/gdbmmodule.so ${PYTHON_SITELIBDIR}
+
+.include <bsd.port.mk>
diff --git a/databases/py-gdbm/distinfo b/databases/py-gdbm/distinfo
new file mode 100644
index 0000000..da23807
--- /dev/null
+++ b/databases/py-gdbm/distinfo
@@ -0,0 +1,3 @@
+MD5 (python/py152.tgz) = e9d677ae6d5a3efc6937627ed8a3e752
+MD5 (python/Python-1.6.tar.gz) = 9d72ef93d7698769d9d3be7c17d5ad92
+MD5 (python/BeOpen-Python-2.0.tar.gz) = 8c4a64891d3dc6422df2514c603f0c98
diff --git a/databases/py-gdbm/files/Setup b/databases/py-gdbm/files/Setup
new file mode 100644
index 0000000..8e4920a
--- /dev/null
+++ b/databases/py-gdbm/files/Setup
@@ -0,0 +1,5 @@
+*shared*
+
+# Anthony Baxter's gdbm module. GNU dbm(3) will require -lgdbm:
+
+gdbm gdbmmodule.c -I${PREFIX}/include -L${PREFIX}/lib -lgdbm
diff --git a/databases/py-gdbm/pkg-comment b/databases/py-gdbm/pkg-comment
new file mode 100644
index 0000000..d814a39
--- /dev/null
+++ b/databases/py-gdbm/pkg-comment
@@ -0,0 +1 @@
+Python bindings to the GNU dbm library.
diff --git a/databases/py-gdbm/pkg-descr b/databases/py-gdbm/pkg-descr
new file mode 100644
index 0000000..d814a39
--- /dev/null
+++ b/databases/py-gdbm/pkg-descr
@@ -0,0 +1 @@
+Python bindings to the GNU dbm library.
diff --git a/databases/py-gdbm/pkg-plist b/databases/py-gdbm/pkg-plist
new file mode 100644
index 0000000..5235eda
--- /dev/null
+++ b/databases/py-gdbm/pkg-plist
@@ -0,0 +1 @@
+lib/%%PYTHON_VERSION%%/site-packages/gdbmmodule.so
OpenPOWER on IntegriCloud