4942ce5a7d
- Add significantly better support in bsd.python.mk for working with Python Eggs and the easy_install system Tested by: pointyhat runs Approved by: pav (portmgr) Most work by: perky Thanks to: pav
36 lines
767 B
Makefile
36 lines
767 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
|
|
PYDISTUTILS_PKGNAME= pydns
|
|
|
|
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>
|