openbsd-ports/net/py-IP/Makefile

28 lines
523 B
Makefile

# $OpenBSD: Makefile,v 1.11 2006/06/03 09:43:03 alek Exp $
COMMENT= "Python module to handle IPv4 and IPv6 address"
VERSION= 0.41
DISTNAME= IPy-${VERSION}
PKGNAME= py-IP-${VERSION}p0
CATEGORIES= net
HOMEPAGE= http://c0re.23.nu/c0de/IPy/
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}
MODULES= lang/python
MODPY_DISTUTILS_INSTALLARGS= -O2
do-regress:
@cd ${WRKSRC}/test; ${MODPY_BIN} ./test_IPy.py
.include <bsd.port.mk>