aboutsummaryrefslogtreecommitdiff
path: root/security/py-mhash
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-04-29 18:53:07 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-04-29 18:53:07 +0000
commit0f69ba042ea0be242bfbf9847e5682042a5dd206 (patch)
tree190241be0b96ae965eb6caf1d2e433556c0b7c9b /security/py-mhash
parent57cb6f4b0939e35371d918a837a8e9f5dd271c92 (diff)
downloadports-0f69ba042ea0be242bfbf9847e5682042a5dd206.tar.gz
ports-0f69ba042ea0be242bfbf9847e5682042a5dd206.zip
Notes
Diffstat (limited to 'security/py-mhash')
-rw-r--r--security/py-mhash/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/security/py-mhash/Makefile b/security/py-mhash/Makefile
index fc15080a1826..a9be00088593 100644
--- a/security/py-mhash/Makefile
+++ b/security/py-mhash/Makefile
@@ -19,14 +19,12 @@ MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= mhash:${PORTSDIR}/security/mhash
USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+PYDISTUTILS_BUILDARGS= -L${LOCALBASE}/lib
CFLAGS+= -I${LOCALBASE}/include
-SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py
-
do-build:
- @${SETUP_CMD} build_ext -L${LOCALBASE}/lib
+ @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYSETUP} build_ext ${PYDISTUTILS_BUILDARGS})
-do-install:
- @${SETUP_CMD} install
.include <bsd.port.mk>