openbsd-ports/lang/cython/Makefile

35 lines
730 B
Makefile
Raw Normal View History

2012-08-23 15:19:16 -04:00
# $OpenBSD: Makefile,v 1.4 2012/08/23 19:19:16 sthen Exp $
COMMENT = C-Extensions for Python
MODPY_EGG_VERSION = 0.14.1
DISTNAME = Cython-${MODPY_EGG_VERSION}
2012-08-23 15:19:16 -04:00
REVISION= 1
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
2012-08-23 15:19:16 -04:00
WANTLIB += c pthread ${MODPY_WANTLIB}
2012-08-23 15:19:16 -04:00
MODULES = lang/python
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>