2013-03-11 07:35:43 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.21 2013/03/11 11:35:55 espie Exp $
|
2002-10-29 03:02:20 -05:00
|
|
|
|
2011-08-27 06:28:25 -04:00
|
|
|
COMMENT = Python DNS library
|
2002-10-29 03:02:20 -05:00
|
|
|
|
2013-01-16 02:55:26 -05:00
|
|
|
MODPY_EGG_VERSION = 2.3.6
|
2011-08-27 06:28:25 -04:00
|
|
|
DISTNAME = pydns-${MODPY_EGG_VERSION}
|
|
|
|
PKGNAME = py-dns-${MODPY_EGG_VERSION}
|
|
|
|
CATEGORIES = net
|
2002-10-29 03:02:20 -05:00
|
|
|
|
2011-08-27 06:28:25 -04:00
|
|
|
HOMEPAGE = http://pydns.sourceforge.net/
|
2002-10-29 03:02:20 -05:00
|
|
|
|
|
|
|
# Python License
|
2011-08-27 06:28:25 -04:00
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
|
|
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=pydns/}
|
2002-10-29 03:02:20 -05:00
|
|
|
|
2011-08-27 06:28:25 -04:00
|
|
|
MODULES = lang/python
|
2002-10-29 03:02:20 -05:00
|
|
|
|
2013-03-11 07:35:43 -04:00
|
|
|
do-test:
|
2011-08-27 06:28:25 -04:00
|
|
|
cd ${WRKSRC}/tests && for test in *.py; do \
|
|
|
|
PYTHONPATH=.. ${MODPY_BIN} $$test; \
|
|
|
|
done
|
2002-10-29 03:02:20 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|