diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-04-29 18:53:07 +0000 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-04-29 18:53:07 +0000 |
commit | 331c7aa42e2c8939b55ed23f19b5748e0769e3d5 (patch) | |
tree | 03a96cddc4a0b6e97a22b4dd2f4a3744a9ee804b /security/py-mhash | |
parent | 56d207b169a0d4d4b689d659ae52d153a7348437 (diff) | |
download | FreeBSD-ports-331c7aa42e2c8939b55ed23f19b5748e0769e3d5.zip FreeBSD-ports-331c7aa42e2c8939b55ed23f19b5748e0769e3d5.tar.gz |
use USE_PYDISTUTILS
Diffstat (limited to 'security/py-mhash')
-rw-r--r-- | security/py-mhash/Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/security/py-mhash/Makefile b/security/py-mhash/Makefile index fc15080..a9be000 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> |