aboutsummaryrefslogtreecommitdiff
path: root/databases/py-bsddb3/Makefile
diff options
context:
space:
mode:
authorJohann Visagie <wjv@FreeBSD.org>2001-09-19 07:36:33 +0000
committerJohann Visagie <wjv@FreeBSD.org>2001-09-19 07:36:33 +0000
commit50c1af246c9c0897a025ae67f6b31a47af879ade (patch)
treefd8d42bdf6ccf119542c7f301257105da4a1d11e /databases/py-bsddb3/Makefile
parent1285ac27d8f49331321e8905d226d3c57e6db958 (diff)
downloadports-50c1af246c9c0897a025ae67f6b31a47af879ade.tar.gz
ports-50c1af246c9c0897a025ae67f6b31a47af879ade.zip
Notes
Diffstat (limited to 'databases/py-bsddb3/Makefile')
-rw-r--r--databases/py-bsddb3/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/databases/py-bsddb3/Makefile b/databases/py-bsddb3/Makefile
index b6860b8d2976..1bc3cceb8819 100644
--- a/databases/py-bsddb3/Makefile
+++ b/databases/py-bsddb3/Makefile
@@ -6,11 +6,10 @@
#
PORTNAME= bsddb3
-PORTVERSION= 3.0
-PORTREVISION= 2
+PORTVERSION= 3.3.0
CATEGORIES= databases python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= pybsddb
+MASTER_SITE_SUBDIR= pybsddb
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= perky@python.or.kr
@@ -18,14 +17,15 @@ MAINTAINER= perky@python.or.kr
LIB_DEPENDS= db3.2:${PORTSDIR}/databases/db3
USE_PYTHON= yes
-SETUP_CMD= cd ${WRKSRC} && ${PYTHON_CMD} setup.py
+SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py
-PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S/^${LOCALBASE}\///g}
+PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S|^${LOCALBASE}/||}
do-build:
- ${SETUP_CMD} build_ext --libs="-ldb3" --berkeley-db=${LOCALBASE} --inplace
+ ${SETUP_CMD} build_ext --libs="-ldb3" --berkeley-db=${LOCALBASE} \
+ --inplace
do-install:
- ${SETUP_CMD} install
+ ${SETUP_CMD} install -c -O1 --prefix=${PREFIX}
.include <bsd.port.mk>