2011-10-09 06:17:19 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.16 2011/10/09 10:17:19 sthen Exp $
|
2006-10-29 09:45:36 -05:00
|
|
|
|
2007-09-15 18:36:51 -04:00
|
|
|
COMMENT= DNS toolkit for Python
|
2006-10-29 09:45:36 -05:00
|
|
|
|
2011-07-17 02:36:36 -04:00
|
|
|
MODPY_EGG_VERSION= 1.9.4
|
2008-08-28 09:35:17 -04:00
|
|
|
DISTNAME= dnspython-${MODPY_EGG_VERSION}
|
2010-07-12 18:07:37 -04:00
|
|
|
PKGNAME= py-${DISTNAME}
|
2011-10-09 06:17:19 -04:00
|
|
|
REVISION= 1
|
2006-10-29 09:45:36 -05:00
|
|
|
CATEGORIES= net
|
|
|
|
|
2009-06-04 05:53:56 -04:00
|
|
|
HOMEPAGE= http://www.dnspython.org/
|
2006-10-29 09:45:36 -05:00
|
|
|
|
2008-08-28 09:35:17 -04:00
|
|
|
MAINTAINER= Will Maier <wcmaier@openbsd.org>
|
2006-10-29 09:45:36 -05:00
|
|
|
|
|
|
|
# BSD
|
2009-06-04 05:53:56 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2006-10-29 09:45:36 -05:00
|
|
|
|
2008-08-28 09:35:17 -04:00
|
|
|
MASTER_SITES= ${HOMEPAGE}/kits/${MODPY_EGG_VERSION}/
|
2006-10-29 09:45:36 -05:00
|
|
|
|
2009-06-04 05:53:56 -04:00
|
|
|
MODULES= lang/python
|
2011-06-13 04:47:51 -04:00
|
|
|
MODPY_ADJ_FILES= examples/*.py
|
2006-10-29 09:45:36 -05:00
|
|
|
|
|
|
|
post-install:
|
2009-06-04 05:53:56 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-dnspython
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/examples/* \
|
|
|
|
${PREFIX}/share/examples/py-dnspython
|
|
|
|
|
|
|
|
do-regress:
|
|
|
|
@cd ${WRKSRC}/tests && env PYTHONPATH=../ \
|
|
|
|
make check PYTHON=${MODPY_BIN}
|
2006-10-29 09:45:36 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|