mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
91e4e8a4e3
USES=python Approved by: portmgr (implicit)
27 lines
673 B
Makefile
27 lines
673 B
Makefile
# Created by: Hye-Shik Chang <perky@fallin.lv>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= adns
|
|
PORTVERSION= 1.2.1
|
|
PORTREVISION= 14
|
|
CATEGORIES= dns python
|
|
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= adns-python-${PORTVERSION}
|
|
|
|
MAINTAINER= m.tsatsenko@gmail.com
|
|
COMMENT= Python Interface to adns, the asynchronous DNS library
|
|
|
|
LIB_DEPENDS= libadns.so:${PORTSDIR}/dns/adns
|
|
|
|
PROJECTHOST= adns-python
|
|
USES= python
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|^\(include_dirs = \).*$$|\1\["${LOCALBASE}/include"\]|g' \
|
|
-e 's|^\(library_dirs = \).*$$|\1\["${LOCALBASE}/lib"\]|g' \
|
|
${WRKSRC}/setup.py
|
|
|
|
.include <bsd.port.mk>
|