freebsd-ports/dns/py-dns/Makefile
2014-02-21 13:36:29 +00:00

34 lines
813 B
Makefile

# Created by: Mark Linimon <linimon@lonesome.com>
# $FreeBSD$
PORTNAME= dns
PORTVERSION= 2.3.6
PORTREVISION= 1
CATEGORIES= dns python
MASTER_SITES= SF/py${PORTNAME}/py${PORTNAME}/py${PORTNAME}-${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pydns-${PORTVERSION}
MAINTAINER= rm@FreeBSD.org
COMMENT= DNS (Domain Name Service) library for Python
LICENSE= CNRI
LICENSE_NAME= CNRI LICENSE AGREEMENT
LICENSE_FILE= ${WRKSRC}/LICENSE
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
USE_PYTHON= 2
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
PORTDOCS= README.txt README-guido.txt
DOCSDIR= ${PREFIX}/share/doc/py-dns
OPTIONS_DEFINE= DOCS
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>