aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-04-30 02:37:38 +0800
committerijliao <ijliao@FreeBSD.org>2002-04-30 02:37:38 +0800
commit0070b55b94bc9275fcfe0f076ef9627329c33849 (patch)
tree52777c4ec6298053248e53c8426ce08f742734ab /dns
parent800d720f882ceb06aa66e91d393bbab507490821 (diff)
downloadfreebsd-ports-gnome-0070b55b94bc9275fcfe0f076ef9627329c33849.tar.gz
freebsd-ports-gnome-0070b55b94bc9275fcfe0f076ef9627329c33849.tar.zst
freebsd-ports-gnome-0070b55b94bc9275fcfe0f076ef9627329c33849.zip
use USE_PYDISTUTILS
Diffstat (limited to 'dns')
-rw-r--r--dns/py-adns/Makefile8
1 files changed, 1 insertions, 7 deletions
diff --git a/dns/py-adns/Makefile b/dns/py-adns/Makefile
index 5f1b725ebc3c..b741415a3123 100644
--- a/dns/py-adns/Makefile
+++ b/dns/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>