summaryrefslogtreecommitdiffstats
path: root/net/py-adns
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-04-29 18:37:38 +0000
committerijliao <ijliao@FreeBSD.org>2002-04-29 18:37:38 +0000
commit0070b55b94bc9275fcfe0f076ef9627329c33849 (patch)
tree52777c4ec6298053248e53c8426ce08f742734ab /net/py-adns
parent800d720f882ceb06aa66e91d393bbab507490821 (diff)
downloadFreeBSD-ports-0070b55b94bc9275fcfe0f076ef9627329c33849.zip
FreeBSD-ports-0070b55b94bc9275fcfe0f076ef9627329c33849.tar.gz
use USE_PYDISTUTILS
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 5f1b725e..b741415 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>
OpenPOWER on IntegriCloud