openbsd-ports/lang/cython/Makefile

35 lines
721 B
Makefile
Raw Normal View History

2011-09-16 06:31:20 -04:00
# $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}
2011-09-16 06:31:20 -04:00
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
2011-07-01 08:41:23 -04:00
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>