diff --git a/dns/py-adns/Makefile b/dns/py-adns/Makefile new file mode 100644 index 000000000000..5f1b725ebc3c --- /dev/null +++ b/dns/py-adns/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: py-adns +# Date created: 24 February 2002 +# Whom: Hye-Shik Chang +# +# $FreeBSD$ +# + +PORTNAME= adns +PORTVERSION= 1.0.0 +CATEGORIES= net python +MASTER_SITES= http://dustman.net/andy/python/adns-python/${PORTVERSION}/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= adns-python-${PORTVERSION} + +MAINTAINER= perky@fallin.lv + +LIB_DEPENDS= adns.1:${PORTSDIR}/net/adns + +USE_PYTHON= 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 diff --git a/dns/py-adns/distinfo b/dns/py-adns/distinfo new file mode 100644 index 000000000000..61643cad7fc9 --- /dev/null +++ b/dns/py-adns/distinfo @@ -0,0 +1 @@ +MD5 (adns-python-1.0.0.tar.gz) = 8a613ac4d294bdd45601f9177d957090 diff --git a/dns/py-adns/pkg-comment b/dns/py-adns/pkg-comment new file mode 100644 index 000000000000..e2852d67e4f1 --- /dev/null +++ b/dns/py-adns/pkg-comment @@ -0,0 +1 @@ +A Python Interface to adns, the asynchronous DNS library diff --git a/dns/py-adns/pkg-descr b/dns/py-adns/pkg-descr new file mode 100644 index 000000000000..e5a5229524fe --- /dev/null +++ b/dns/py-adns/pkg-descr @@ -0,0 +1,4 @@ +The adns module provides an interface to +the GNU adns asynchronous DNS resolver library. + +WWW: http://dustman.net/andy/python/adns-python/ diff --git a/dns/py-adns/pkg-plist b/dns/py-adns/pkg-plist new file mode 100644 index 000000000000..de0c190b1308 --- /dev/null +++ b/dns/py-adns/pkg-plist @@ -0,0 +1,7 @@ +%%PYTHON_SITELIBDIR%%/ADNS.py +%%PYTHON_SITELIBDIR%%/ADNS.pyc +%%PYTHON_SITELIBDIR%%/adns.so +%%PYTHON_SITELIBDIR%%/hostmx.py +%%PYTHON_SITELIBDIR%%/hostmx.pyc +%%PYTHON_SITELIBDIR%%/rblcheck.py +%%PYTHON_SITELIBDIR%%/rblcheck.pyc diff --git a/net/Makefile b/net/Makefile index 47310d21c1c5..eaa521af18f2 100644 --- a/net/Makefile +++ b/net/Makefile @@ -373,6 +373,7 @@ SUBDIR += punkbuster-data SUBDIR += pvm SUBDIR += pvm++ + SUBDIR += py-adns SUBDIR += py-ipy SUBDIR += py-jabber SUBDIR += py-libnet diff --git a/net/py-adns/Makefile b/net/py-adns/Makefile new file mode 100644 index 000000000000..5f1b725ebc3c --- /dev/null +++ b/net/py-adns/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: py-adns +# Date created: 24 February 2002 +# Whom: Hye-Shik Chang +# +# $FreeBSD$ +# + +PORTNAME= adns +PORTVERSION= 1.0.0 +CATEGORIES= net python +MASTER_SITES= http://dustman.net/andy/python/adns-python/${PORTVERSION}/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= adns-python-${PORTVERSION} + +MAINTAINER= perky@fallin.lv + +LIB_DEPENDS= adns.1:${PORTSDIR}/net/adns + +USE_PYTHON= 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 diff --git a/net/py-adns/distinfo b/net/py-adns/distinfo new file mode 100644 index 000000000000..61643cad7fc9 --- /dev/null +++ b/net/py-adns/distinfo @@ -0,0 +1 @@ +MD5 (adns-python-1.0.0.tar.gz) = 8a613ac4d294bdd45601f9177d957090 diff --git a/net/py-adns/pkg-comment b/net/py-adns/pkg-comment new file mode 100644 index 000000000000..e2852d67e4f1 --- /dev/null +++ b/net/py-adns/pkg-comment @@ -0,0 +1 @@ +A Python Interface to adns, the asynchronous DNS library diff --git a/net/py-adns/pkg-descr b/net/py-adns/pkg-descr new file mode 100644 index 000000000000..e5a5229524fe --- /dev/null +++ b/net/py-adns/pkg-descr @@ -0,0 +1,4 @@ +The adns module provides an interface to +the GNU adns asynchronous DNS resolver library. + +WWW: http://dustman.net/andy/python/adns-python/ diff --git a/net/py-adns/pkg-plist b/net/py-adns/pkg-plist new file mode 100644 index 000000000000..de0c190b1308 --- /dev/null +++ b/net/py-adns/pkg-plist @@ -0,0 +1,7 @@ +%%PYTHON_SITELIBDIR%%/ADNS.py +%%PYTHON_SITELIBDIR%%/ADNS.pyc +%%PYTHON_SITELIBDIR%%/adns.so +%%PYTHON_SITELIBDIR%%/hostmx.py +%%PYTHON_SITELIBDIR%%/hostmx.pyc +%%PYTHON_SITELIBDIR%%/rblcheck.py +%%PYTHON_SITELIBDIR%%/rblcheck.pyc