Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Feb 2002 00:17:21 +0900 (KST)
From:      Hye-Shik Chang <perky@fallin.lv>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/35277: New port: net/py-adns
Message-ID:  <200202241517.g1OFHLJ48368@kornet.hanirc.org>

next in thread | raw e-mail | index | archive | help

>Number:         35277
>Category:       ports
>Synopsis:       New port: net/py-adns
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 24 07:20:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Hye-Shik Chang
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
Yonsei University
>Environment:
System: FreeBSD kornet.hanirc.org 4.5-STABLE FreeBSD 4.5-STABLE #0: Wed Jan 30 00:21:52 KST 2002 root@kornet.hanirc.org:/home/obj/home/src/sys/HANIRC i386

>Description:
python interface to asynchronous dns resolver.

>How-To-Repeat:

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	py-adns
#	py-adns/Makefile
#	py-adns/distinfo
#	py-adns/pkg-comment
#	py-adns/pkg-descr
#	py-adns/pkg-plist
#
echo c - py-adns
mkdir -p py-adns > /dev/null 2>&1
echo x - py-adns/Makefile
sed 's/^X//' >py-adns/Makefile << 'END-of-py-adns/Makefile'
X# New ports collection makefile for:	py-adns
X# Date created:		24 February 2002
X# Whom:			Hye-Shik Chang <perky@fallin.lv>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	adns
XPORTVERSION=	1.0.0
XCATEGORIES=	net python
XMASTER_SITES=	http://dustman.net/andy/python/adns-python/${PORTVERSION}/
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
XDISTNAME=	adns-python-${PORTVERSION}
X
XMAINTAINER=	perky@fallin.lv
X
XLIB_DEPENDS=	adns.1:${PORTSDIR}/net/adns
X
XUSE_PYTHON=	yes
XPLIST_SUB+=	PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S/^${LOCALBASE}\///g}
XSETUP_CMD=	cd ${WRKSRC} && ${PYTHON_CMD} setup.py
X
Xpost-patch:
X	@ cd ${WRKSRC} && \
X	  ${SED} -e 's,^\(include_dirs = \).*$$,\1["${LOCALBASE}/include"],g' \
X		 -e 's,^\(library_dirs = \).*$$,\1["${LOCALBASE}/lib"],g' \
X		 setup.py > setup.py.tmp && ${MV} -f setup.py.tmp setup.py
X
Xdo-build:
X	${SETUP_CMD} build
X
Xdo-install:
X	${SETUP_CMD} install
X
X.include <bsd.port.mk>
END-of-py-adns/Makefile
echo x - py-adns/distinfo
sed 's/^X//' >py-adns/distinfo << 'END-of-py-adns/distinfo'
XMD5 (adns-python-1.0.0.tar.gz) = 8a613ac4d294bdd45601f9177d957090
END-of-py-adns/distinfo
echo x - py-adns/pkg-comment
sed 's/^X//' >py-adns/pkg-comment << 'END-of-py-adns/pkg-comment'
XA Python Interface to adns, the asynchronous DNS library
END-of-py-adns/pkg-comment
echo x - py-adns/pkg-descr
sed 's/^X//' >py-adns/pkg-descr << 'END-of-py-adns/pkg-descr'
XThe adns module provides an interface to
Xthe GNU adns asynchronous DNS resolver library.
X
XWWW: http://dustman.net/andy/python/adns-python/
END-of-py-adns/pkg-descr
echo x - py-adns/pkg-plist
sed 's/^X//' >py-adns/pkg-plist << 'END-of-py-adns/pkg-plist'
X%%PYTHON_SITELIBDIR%%/ADNS.py
X%%PYTHON_SITELIBDIR%%/ADNS.pyc
X%%PYTHON_SITELIBDIR%%/adns.so
X%%PYTHON_SITELIBDIR%%/hostmx.py
X%%PYTHON_SITELIBDIR%%/hostmx.pyc
X%%PYTHON_SITELIBDIR%%/rblcheck.py
X%%PYTHON_SITELIBDIR%%/rblcheck.pyc
END-of-py-adns/pkg-plist
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202241517.g1OFHLJ48368>