openbsd-ports/lang/cython/Makefile
2013-03-11 11:20:26 +00:00

31 lines
623 B
Makefile

# $OpenBSD: Makefile,v 1.6 2013/03/11 11:20:27 espie Exp $
COMMENT = C-Extensions for Python
MODPY_EGG_VERSION = 0.18
DISTNAME = Cython-${MODPY_EGG_VERSION}
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
WANTLIB += c pthread ${MODPY_WANTLIB}
MODULES = lang/python
TEST_TARGET = test
MAKE_ENV += PYTHON=${MODPY_BIN}
do-test:
@cd ${WRKBUILD} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} \
${ALL_TEST_FLAGS} -f ${MAKE_FILE} ${TEST_TARGET}
.include <bsd.port.mk>