aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-02-15 18:24:08 +0800
committermiwi <miwi@FreeBSD.org>2014-02-15 18:24:08 +0800
commit8758fefd79095b2fa731593536c38d8af4ce2b4b (patch)
tree3fcc09a79e62a739add7fea21cc788af3b5a537f /dns
parentcb176e98c0d2bd9e96f35ff50047fadc4e1bee80 (diff)
downloadfreebsd-ports-gnome-8758fefd79095b2fa731593536c38d8af4ce2b4b.tar.gz
freebsd-ports-gnome-8758fefd79095b2fa731593536c38d8af4ce2b4b.tar.zst
freebsd-ports-gnome-8758fefd79095b2fa731593536c38d8af4ce2b4b.zip
- Conver to autoplist
- Stage support - Bump PORTREV
Diffstat (limited to 'dns')
-rw-r--r--dns/py-adns/Makefile5
-rw-r--r--dns/py-adns/pkg-plist7
2 files changed, 2 insertions, 10 deletions
diff --git a/dns/py-adns/Makefile b/dns/py-adns/Makefile
index 3f6cf77f408a..18bde8aadbbb 100644
--- a/dns/py-adns/Makefile
+++ b/dns/py-adns/Makefile
@@ -3,6 +3,7 @@
PORTNAME= adns
PORTVERSION= 1.2.1
+PORTREVISION= 14
CATEGORIES= dns python
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -16,10 +17,8 @@ LIB_DEPENDS= adns.1:${PORTSDIR}/dns/adns
PROJECTHOST= adns-python
USE_PYTHON= yes
USE_PYDISTUTILS= yes
-PYDISTUTILS_PKGNAME= adns-python
-PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S/^${LOCALBASE}\///g}
+PYDISTUTILS_AUTOPLIST= yes
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|^\(include_dirs = \).*$$|\1\["${LOCALBASE}/include"\]|g' \
-e 's|^\(library_dirs = \).*$$|\1\["${LOCALBASE}/lib"\]|g' \
diff --git a/dns/py-adns/pkg-plist b/dns/py-adns/pkg-plist
deleted file mode 100644
index a49dd5735b6e..000000000000
--- a/dns/py-adns/pkg-plist
+++ /dev/null
@@ -1,7 +0,0 @@
-%%PYTHON_SITELIBDIR%%/ADNS.py
-%%PYTHON_SITELIBDIR%%/ADNS.pyc
-%%PYTHON_SITELIBDIR%%/ADNS.pyo
-%%PYTHON_SITELIBDIR%%/DNSBL.py
-%%PYTHON_SITELIBDIR%%/DNSBL.pyc
-%%PYTHON_SITELIBDIR%%/DNSBL.pyo
-%%PYTHON_SITELIBDIR%%/adns.so