diff options
Diffstat (limited to 'databases')
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/py-gdbm/Makefile | 38 | ||||
-rw-r--r-- | databases/py-gdbm/distinfo | 3 | ||||
-rw-r--r-- | databases/py-gdbm/files/Setup | 5 | ||||
-rw-r--r-- | databases/py-gdbm/pkg-comment | 1 | ||||
-rw-r--r-- | databases/py-gdbm/pkg-descr | 1 | ||||
-rw-r--r-- | databases/py-gdbm/pkg-plist | 1 |
7 files changed, 50 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile index 6d8147b..4ec591e 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -50,6 +50,7 @@ SUBDIR += py-MySQLdb SUBDIR += py-PyGreSQL SUBDIR += py-SQLDict + SUBDIR += py-gdbm SUBDIR += rdb SUBDIR += ruby-gdbm SUBDIR += ruby14-gdbm 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 |