aboutsummaryrefslogtreecommitdiff
path: root/net/py-adns
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2002-06-25 19:19:54 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2002-06-25 19:19:54 +0000
commit33085970800ef45d6ab8b05aecb75db75fe5de8f (patch)
tree55e43b60dc76acef73aad39367c657f8b3741f59 /net/py-adns
parenta154163cfc3fbed5b12667877e6d963d6d186fa3 (diff)
downloadports-33085970800ef45d6ab8b05aecb75db75fe5de8f.tar.gz
ports-33085970800ef45d6ab8b05aecb75db75fe5de8f.zip
Notes
Diffstat (limited to 'net/py-adns')
-rw-r--r--net/py-adns/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/py-adns/Makefile b/net/py-adns/Makefile
index 795a7fcb628f..242602098e3c 100644
--- a/net/py-adns/Makefile
+++ b/net/py-adns/Makefile
@@ -18,11 +18,12 @@ LIB_DEPENDS= adns.1:${PORTSDIR}/net/adns
USE_PYTHON= yes
USE_PYDISTUTILS= yes
+USE_REINPLACE= yes
PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S/^${LOCALBASE}\///g}
post-patch:
- @${PERL} -pi -e 's|^(include_dirs = ).*$$|\1\["${LOCALBASE}/include"\]|g; \
- s|^(library_dirs = ).*$$|\1\["${LOCALBASE}/lib"\]|g' \
+ @${REINPLACE_CMD} -e 's|^\(include_dirs = \).*$$|\1\["${LOCALBASE}/include"\]|g' \
+ -e 's|^\(library_dirs = \).*$$|\1\["${LOCALBASE}/lib"\]|g' \
${WRKSRC}/setup.py
.include <bsd.port.mk>