aboutsummaryrefslogtreecommitdiff
path: root/databases/py-bsddb3
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-04-29 13:33:57 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-04-29 13:33:57 +0000
commit786a6554ae6280a77d5607caf5786da22e1564f9 (patch)
tree06ee0c94a5e4004f9a30044828a8255c8aa9e8f7 /databases/py-bsddb3
parent27cba59f30f6883158d062cde6facfde8914ab45 (diff)
downloadports-786a6554ae6280a77d5607caf5786da22e1564f9.tar.gz
ports-786a6554ae6280a77d5607caf5786da22e1564f9.zip
Notes
Diffstat (limited to 'databases/py-bsddb3')
-rw-r--r--databases/py-bsddb3/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/databases/py-bsddb3/Makefile b/databases/py-bsddb3/Makefile
index 84bc9ab19d51..33785f46b617 100644
--- a/databases/py-bsddb3/Makefile
+++ b/databases/py-bsddb3/Makefile
@@ -17,15 +17,9 @@ MAINTAINER= perky@fallin.lv
LIB_DEPENDS= db3.2:${PORTSDIR}/databases/db3
USE_PYTHON= yes
-SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py
+USE_PYDISTUTILS= yes
+PYDISTUTILS_BUILDARGS= --libs="-ldb3" --berkeley-db=${LOCALBASE}
PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S|^${LOCALBASE}/||}
-do-build:
- ${SETUP_CMD} build_ext --libs="-ldb3" --berkeley-db=${LOCALBASE} \
- --inplace
-
-do-install:
- ${SETUP_CMD} install -c -O1 --prefix=${PREFIX}
-
.include <bsd.port.mk>