1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/dns/py-dns/Makefile
Xin LI 960e3b3430 Fix build with Python 2.5 by adding encoding information on
two files, as requested by pep-0263.

Approved by:	portmgr/maintainer (linimon)
2006-10-11 16:20:45 +00:00

36 lines
740 B
Makefile

# New ports collection makefile for: py-dns
# Date created: 21 September 2002
# Whom: Mark Linimon (linimon@lonesome.com)
#
# $FreeBSD$
#
PORTNAME= dns
PORTVERSION= 2.3.0
PORTREVISION= 1
CATEGORIES= dns python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= pydns
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pydns-${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= linimon@FreeBSD.org
COMMENT= DNS (Domain Name Service) library for Python
USE_PYTHON= yes
USE_PYDISTUTILS= yes
DOCS= README.txt README-guido.txt
DOCSDIR= ${PREFIX}/share/doc/py-dns
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
.for file in ${DOCS}
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>