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
|
2007-02-12 12:06:07 +00:00
|
|
|
PORTVERSION= 1.2.1
|
2003-09-05 04:54:37 +00:00
|
|
|
CATEGORIES= dns python
|
2008-03-13 11:27:29 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
|
2002-02-26 22:35:54 +00:00
|
|
|
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
|
|
|
|
2006-04-24 02:43:51 +00:00
|
|
|
LIB_DEPENDS= adns.1:${PORTSDIR}/dns/adns
|
2002-02-26 22:35:54 +00:00
|
|
|
|
2008-03-13 11:27:29 +00:00
|
|
|
PROJECTHOST= adns-python
|
2002-02-26 22:35:54 +00:00
|
|
|
USE_PYTHON= yes
|
2002-04-29 18:37:38 +00:00
|
|
|
USE_PYDISTUTILS= yes
|
2007-07-30 09:42:28 +00:00
|
|
|
PYDISTUTILS_PKGNAME= adns-python
|
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>
|