aboutsummaryrefslogtreecommitdiff
path: root/net/py-adns
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-04-29 18:37:38 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-04-29 18:37:38 +0000
commit91cb80d94325e8fcc4dd2bd428e58094b0f30891 (patch)
treefc97a09970827819a50f2263bd7760b9da076d95 /net/py-adns
parent795697e909a3c12353459561fdfdccfa53c53fad (diff)
downloadports-91cb80d94325e8fcc4dd2bd428e58094b0f30891.tar.gz
ports-91cb80d94325e8fcc4dd2bd428e58094b0f30891.zip
Notes
Diffstat (limited to 'net/py-adns')
-rw-r--r--net/py-adns/Makefile8
1 files changed, 1 insertions, 7 deletions
diff --git a/net/py-adns/Makefile b/net/py-adns/Makefile
index 5f1b725ebc3c..b741415a3123 100644
--- a/net/py-adns/Makefile
+++ b/net/py-adns/Makefile
@@ -17,18 +17,12 @@ MAINTAINER= perky@fallin.lv
LIB_DEPENDS= adns.1:${PORTSDIR}/net/adns
USE_PYTHON= yes
+USE_PYDISTUTILS= yes
PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S/^${LOCALBASE}\///g}
-SETUP_CMD= cd ${WRKSRC} && ${PYTHON_CMD} setup.py
post-patch:
@${PERL} -pi -e 's|^(include_dirs = ).*$$|\1\["${LOCALBASE}/include"\]|g; \
s|^(library_dirs = ).*$$|\1\["${LOCALBASE}/lib"\]|g' \
${WRKSRC}/setup.py
-do-build:
- @${SETUP_CMD} build
-
-do-install:
- @${SETUP_CMD} install
-
.include <bsd.port.mk>