freebsd-ports/dns/py-adns/Makefile
Patrick Li 03f189ed5b back out commit made comparing OSVERSION and use sed(1) to workaround perl
on current issue. gotta back it out sooner or later.

/me puts on pointy hat

Requested by:	many
2002-05-23 22:22:19 +00:00

29 lines
718 B
Makefile

# 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
USE_PYDISTUTILS= yes
PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S/^${LOCALBASE}\///g}
post-patch:
@${PERL} -pi -e 's|^(include_dirs = ).*$$|\1\["${LOCALBASE}/include"\]|g; \
s|^(library_dirs = ).*$$|\1\["${LOCALBASE}/lib"\]|g' \
${WRKSRC}/setup.py
.include <bsd.port.mk>