diff options
author | perky <perky@FreeBSD.org> | 2003-10-19 16:52:10 +0800 |
---|---|---|
committer | perky <perky@FreeBSD.org> | 2003-10-19 16:52:10 +0800 |
commit | 8b3f89e06dd5c0e73dee77fc583a8ce69e302108 (patch) | |
tree | a656b9f1cb1671d82cecb452f44c69435bdaedb5 /databases/py25-bsddb | |
parent | 81fa85f9b2cdcaef14db27bd905590429931099e (diff) | |
download | freebsd-ports-gnome-8b3f89e06dd5c0e73dee77fc583a8ce69e302108.tar.gz freebsd-ports-gnome-8b3f89e06dd5c0e73dee77fc583a8ce69e302108.tar.zst freebsd-ports-gnome-8b3f89e06dd5c0e73dee77fc583a8ce69e302108.zip |
Utilize PYTHON_SITE_SUBDIR and USE_PYTHON.
Diffstat (limited to 'databases/py25-bsddb')
-rw-r--r-- | databases/py25-bsddb/Makefile | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/databases/py25-bsddb/Makefile b/databases/py25-bsddb/Makefile index 0715eb7572ac..7dbb7f9537f3 100644 --- a/databases/py25-bsddb/Makefile +++ b/databases/py25-bsddb/Makefile @@ -9,7 +9,7 @@ PORTNAME= bsddb PORTVERSION= ${PYTHON_PORTVERSION} CATEGORIES= databases python MASTER_SITES= ${MASTER_SITE_PYTHON} -MASTER_SITE_SUBDIR= ftp/python/${PORTVERSION} +MASTER_SITE_SUBDIR= ${PYTHON_SITE_SUBDIR} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTFILES= ${PYTHON_DISTFILE} @@ -26,19 +26,13 @@ DBVERSION= db4 .endif DIST_SUBDIR= python -USE_PYTHON= yes +USE_PYTHON= 2.3+ USE_PYDISTUTILS=yes USE_REINPLACE= yes WRKSRC= ${PYTHON_WRKSRC}/Modules MD5_FILE= ${PORTSDIR}/lang/python/distinfo MAKE_ENV= BSDDB_VERSION=${DBVERSION} -.include <bsd.port.pre.mk> - -.if ${PYTHON_REL} < 230 -IGNORE= "is a port for python2.3 and later versions" -.endif - post-extract: @${CP} ${FILESDIR}/setup.py ${WRKSRC} @@ -47,4 +41,4 @@ post-patch: 's,^\(#include.*\)\(db\.h.*\)$$,\1${DBVERSION}/\2,' \ ${WRKSRC}/_bsddb.c -.include <bsd.port.post.mk> +.include <bsd.port.mk> |