2002-02-26 22:35:54 +00:00
|
|
|
# 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}
|
|
|
|
|
2002-06-25 07:50:58 +00:00
|
|
|
MAINTAINER= perky@FreeBSD.org
|
2003-02-25 06:25:35 +00:00
|
|
|
COMMENT= A Python Interface to adns, the asynchronous DNS library
|
2002-02-26 22:35:54 +00:00
|
|
|
|
|
|
|
LIB_DEPENDS= adns.1:${PORTSDIR}/net/adns
|
|
|
|
|
|
|
|
USE_PYTHON= yes
|
2002-04-29 18:37:38 +00:00
|
|
|
USE_PYDISTUTILS= yes
|
2002-06-25 19:19:54 +00:00
|
|
|
USE_REINPLACE= yes
|
2002-02-26 22:35:54 +00:00
|
|
|
PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S/^${LOCALBASE}\///g}
|
|
|
|
|
|
|
|
post-patch:
|
2002-06-25 19:19:54 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|^\(include_dirs = \).*$$|\1\["${LOCALBASE}/include"\]|g' \
|
|
|
|
-e 's|^\(library_dirs = \).*$$|\1\["${LOCALBASE}/lib"\]|g' \
|
2002-02-26 22:35:54 +00:00
|
|
|
${WRKSRC}/setup.py
|
|
|
|
|
2002-05-23 22:22:19 +00:00
|
|
|
.include <bsd.port.mk>
|