openbsd-ports/net/py-dns/Makefile
2011-09-16 11:13:37 +00:00

31 lines
648 B
Makefile

# $OpenBSD: Makefile,v 1.17 2011/09/16 11:13:39 espie Exp $
COMMENT = Python DNS library
MODPY_EGG_VERSION = 2.3.5
DISTNAME = pydns-${MODPY_EGG_VERSION}
PKGNAME = py-dns-${MODPY_EGG_VERSION}
REVISION= 0
CATEGORIES = net
HOMEPAGE = http://pydns.sourceforge.net/
MAINTAINER = Jakob Schlyter <jakob@openbsd.org>
# Python License
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=pydns/}
MODULES = lang/python
do-regress:
cd ${WRKSRC}/tests && for test in *.py; do \
PYTHONPATH=.. ${MODPY_BIN} $$test; \
done
.include <bsd.port.mk>