openbsd-ports/lang/cython/Makefile
2011-09-16 10:31:20 +00:00

35 lines
721 B
Makefile

# $OpenBSD: Makefile,v 1.3 2011/09/16 10:31:20 espie Exp $
COMMENT = C-Extensions for Python
MODPY_EGG_VERSION = 0.14.1
DISTNAME = Cython-${MODPY_EGG_VERSION}
REVISION= 0
PKGNAME = ${DISTNAME:L}
CATEGORIES = lang
HOMEPAGE = http://www.cython.org/
MASTER_SITES = ${HOMEPAGE}release/ \
${MASTER_SITE_PYPI:=C/Cython/}
# Apache 2
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MODULES = lang/python
WANTLIB += ${MODPY_WANTLIB}
REGRESS_TARGET = test
MAKE_ENV += PYTHON=${MODPY_BIN}
do-regress:
@cd ${WRKBUILD} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} \
${ALL_REGRESS_FLAGS} -f ${MAKE_FILE} ${REGRESS_TARGET}
.include <bsd.port.mk>