diff options
author | lwhsu <lwhsu@FreeBSD.org> | 2009-07-08 16:55:07 +0800 |
---|---|---|
committer | lwhsu <lwhsu@FreeBSD.org> | 2009-07-08 16:55:07 +0800 |
commit | e2f32531d7650b2bed22b1c01e222eeb7d6323f5 (patch) | |
tree | 3863f2231ff09f31469c4007913b7fd643d51613 /databases/py-bsddb | |
parent | 5cb5852c3441d6339845e2a456bb34eca02a1af6 (diff) | |
download | freebsd-ports-gnome-e2f32531d7650b2bed22b1c01e222eeb7d6323f5.tar.gz freebsd-ports-gnome-e2f32531d7650b2bed22b1c01e222eeb7d6323f5.tar.zst freebsd-ports-gnome-e2f32531d7650b2bed22b1c01e222eeb7d6323f5.zip |
- Use checksum file under lang/python${PYTHON_SUFFIX}/,
for removal lang/python/distinfo [1]
- USE_PYTHON=yes, all Python version in the ports tree is 2.3+
- Mark IGNORE for Python >= 3.0
- Prepare to be a master port
PR: ports/136200 [1]
Submitted by: lwhsu
Approved by: perky
Diffstat (limited to 'databases/py-bsddb')
-rw-r--r-- | databases/py-bsddb/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/databases/py-bsddb/Makefile b/databases/py-bsddb/Makefile index d70bb1cf02c9..88e57450421f 100644 --- a/databases/py-bsddb/Makefile +++ b/databases/py-bsddb/Makefile @@ -14,22 +14,26 @@ MASTER_SITE_SUBDIR= ${PYTHON_MASTER_SITE_SUBDIR} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTFILES= ${PYTHON_DISTFILE} -MAINTAINER= perky@FreeBSD.org +MAINTAINER?= perky@FreeBSD.org COMMENT= Python bindings to the Berkeley DB library USE_BDB= yes -USE_PYTHON= 2.3+ +USE_PYTHON?= yes USE_PYDISTUTILS=yes PYDISTUTILS_PKGNAME= _bsddb PYDISTUTILS_PKGVERSION= 0.0.0 DIST_SUBDIR= python WRKSRC= ${PYTHON_WRKSRC}/Modules -MD5_FILE= ${PORTSDIR}/lang/python/distinfo +MD5_FILE= ${PORTSDIR}/lang/python${PYTHON_SUFFIX}/distinfo MAKE_ENV= BSDDB_VERSION=${BDB_LIB_NAME} PLIST_FILES= %%PYTHON_SITELIBDIR%%/_bsddb.so .include <bsd.port.pre.mk> +.if ${PYTHON_REL} >= 300 +IGNORE= bsddb package was removed from core standard library since 3.0, use databases/py-bsddb3 instead +.endif + post-extract: @${CP} ${FILESDIR}/setup.py ${WRKSRC} |