1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00
freebsd-ports/dns/py-pywdns/Makefile
Don Lewis 17a59709a1 dns/py-pywdns: Upgrade to version 0.10.1
* Add GenConstants command

  * Linux packaging changes

Sponsored by:	Farsight Security, Inc.
2021-05-31 11:15:13 -07:00

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>