mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
17a59709a1
* Add GenConstants command * Linux packaging changes Sponsored by: Farsight Security, Inc.
25 lines
562 B
Makefile
25 lines
562 B
Makefile
PORTNAME= pywdns
|
|
PORTVERSION= 0.10.1
|
|
CATEGORIES= dns python
|
|
MASTER_SITES= FARSIGHT LOCAL/truckman/farsight
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= truckman@FreeBSD.org
|
|
COMMENT= Python wrapper for dns/wdns
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
|
|
|
|
LIB_DEPENDS= libwdns.so:dns/wdns
|
|
|
|
USES= pkgconfig python:3.6+
|
|
USE_PYTHON= autoplist cython distutils
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e "1s+ python+ ${PYTHON_CMD}+" ${WRKSRC}/gen_pywdns_constants
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}/${PYTHON_SITELIBDIR}/wdns*.so
|
|
|
|
.include <bsd.port.mk>
|