freebsd-ports/dns/py-dnspython/Makefile
Ruslan Makhmatkhanov 8431e61255 dns/py-dnspython: update to 1.14.0
- python 2.x and python 3.x are now supported from the single codebase,
  so kick off all the python version distinction shims
- remove permission safeness bits because they are not needed anymore
  (tested both with poudriere generated package and user generated package)
- general clean-up
2016-07-29 15:06:11 +00:00

36 lines
1.1 KiB
Makefile

# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
# $FreeBSD$
PORTNAME= dnspython
PORTVERSION= 1.14.0
CATEGORIES= dns python
MASTER_SITES= http://www.dnspython.org/kits/${PORTVERSION}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= rm@FreeBSD.org
COMMENT= DNS toolkit for Python
NO_ARCH= yes
USES= python:2.7+
USE_PYTHON= autoplist distutils
OPTIONS_DEFINE= DOCS EXAMPLES PYCRYPTO
PYCRYPTO_DESC= Enable pycrypto (part of dnssec needs it)
PYCRYPTO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycrypto>0:security/py-pycrypto
PORTDOCS= ChangeLog README.md
DOCSDIR= ${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}${PORTNAME}
PORTEXAMPLES= ddns.py e164.py mx.py name.py reverse.py reverse_name.py \
xfr.py zonediff.py
EXAMPLESDIR= ${PREFIX}/share/examples/${PYTHON_PKGNAMEPREFIX}${PORTNAME}
post-install:
# docs
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
# examples
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/examples/,} ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>