diff options
Diffstat (limited to 'databases/py-gdbm')
-rw-r--r-- | databases/py-gdbm/Makefile | 35 | ||||
-rw-r--r-- | databases/py-gdbm/files/Setup.in | 2 | ||||
-rw-r--r-- | databases/py-gdbm/files/md5 | 1 | ||||
-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 | 2 |
6 files changed, 42 insertions, 0 deletions
diff --git a/databases/py-gdbm/Makefile b/databases/py-gdbm/Makefile new file mode 100644 index 00000000000..19bb7af4c48 --- /dev/null +++ b/databases/py-gdbm/Makefile @@ -0,0 +1,35 @@ +# $NetBSD: Makefile,v 1.1 1998/05/23 21:46:05 tron Exp $ +# + +DISTNAME= pyth151 +PKGNAME= py-gdbm-1.5.1 +CATEGORIES= databases +MASTER_SITES= ftp://ftp.python.org/pub/python/src/ +EXTRACT_SUFX= .tgz + +MAINTAINER= dolecek@ics.muni.cz + +DEPENDS+= python-1.5.1:../../lang/python \ + gdbm-1.7.3:../../databases/gdbm + +WRKSRC= ${WRKDIR}/Python-1.5.1/Modules +ALL_TARGET= default +EXTRACT_AFTER_ARGS= Python-1.5.1/Modules/gdbmmodule.c + +PYTHON_CONFIGDIR= ${LOCALBASE}/lib/python1.5/config/ + +.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "mips" || ${MACHINE_ARCH} == "alpha" +IGNORE="Needs dynamic loading" +.endif + +do-configure: + ${SED} -e 's%@LOCALBASE@%${LOCALBASE}%g' ${FILESDIR}/Setup.in \ + >${WRKSRC}/Setup.in + (cd ${WRKSRC}; \ + ${CP} ${PYTHON_CONFIGDIR}/Makefile.pre.in .;\ + ${MAKE} -f Makefile.pre.in boot;) + +do-install: + ${INSTALL_DATA} ${WRKSRC}/gdbmmodule.so ${LOCALBASE}/lib/python1.5/lib-dynload + +.include "../../mk/bsd.pkg.mk" diff --git a/databases/py-gdbm/files/Setup.in b/databases/py-gdbm/files/Setup.in new file mode 100644 index 00000000000..7341e36da49 --- /dev/null +++ b/databases/py-gdbm/files/Setup.in @@ -0,0 +1,2 @@ +*shared* +gdbm gdbmmodule.c -I@LOCALBASE@/include -L@LOCALBASE@/lib -lgdbm diff --git a/databases/py-gdbm/files/md5 b/databases/py-gdbm/files/md5 new file mode 100644 index 00000000000..63166bf98ac --- /dev/null +++ b/databases/py-gdbm/files/md5 @@ -0,0 +1 @@ +MD5 (pyth151.tgz) = eb8ef6e37e543058a2d47996ecf62427 diff --git a/databases/py-gdbm/pkg/COMMENT b/databases/py-gdbm/pkg/COMMENT new file mode 100644 index 00000000000..60f40969df6 --- /dev/null +++ b/databases/py-gdbm/pkg/COMMENT @@ -0,0 +1 @@ +Python interface to gdbm - GNU database manager diff --git a/databases/py-gdbm/pkg/DESCR b/databases/py-gdbm/pkg/DESCR new file mode 100644 index 00000000000..ea4862f49ff --- /dev/null +++ b/databases/py-gdbm/pkg/DESCR @@ -0,0 +1 @@ +This module makes available gdbm capabilities to Python programs. diff --git a/databases/py-gdbm/pkg/PLIST b/databases/py-gdbm/pkg/PLIST new file mode 100644 index 00000000000..b63981c46db --- /dev/null +++ b/databases/py-gdbm/pkg/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1 1998/05/23 21:46:05 tron Exp $ +lib/python1.5/lib-dynload/gdbmmodule.so |