summaryrefslogtreecommitdiff
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
parentActually add the new patches from the last commit.... (diff)
use USE_PYDISTUTILS
Notes
Notes: svn path=/head/; revision=58334
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>