1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Add new port net/py-adns - Python interface to asynchronous dns resolver

PR:		35277
Submitted by:	Hye-Shik Chang <perky@fallin.lv>
This commit is contained in:
Patrick Li 2002-02-26 22:35:54 +00:00
parent 44906660d2
commit a04c61f7b0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=55281
11 changed files with 95 additions and 0 deletions

34
dns/py-adns/Makefile Normal file
View File

@ -0,0 +1,34 @@
# New ports collection makefile for: py-adns
# Date created: 24 February 2002
# Whom: Hye-Shik Chang <perky@fallin.lv>
#
# $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 <bsd.port.mk>

1
dns/py-adns/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (adns-python-1.0.0.tar.gz) = 8a613ac4d294bdd45601f9177d957090

1
dns/py-adns/pkg-comment Normal file
View File

@ -0,0 +1 @@
A Python Interface to adns, the asynchronous DNS library

4
dns/py-adns/pkg-descr Normal file
View File

@ -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/

7
dns/py-adns/pkg-plist Normal file
View File

@ -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

View File

@ -373,6 +373,7 @@
SUBDIR += punkbuster-data
SUBDIR += pvm
SUBDIR += pvm++
SUBDIR += py-adns
SUBDIR += py-ipy
SUBDIR += py-jabber
SUBDIR += py-libnet

34
net/py-adns/Makefile Normal file
View File

@ -0,0 +1,34 @@
# New ports collection makefile for: py-adns
# Date created: 24 February 2002
# Whom: Hye-Shik Chang <perky@fallin.lv>
#
# $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 <bsd.port.mk>

1
net/py-adns/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (adns-python-1.0.0.tar.gz) = 8a613ac4d294bdd45601f9177d957090

1
net/py-adns/pkg-comment Normal file
View File

@ -0,0 +1 @@
A Python Interface to adns, the asynchronous DNS library

4
net/py-adns/pkg-descr Normal file
View File

@ -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/

7
net/py-adns/pkg-plist Normal file
View File

@ -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