Makefile 732 B

1234567891011121314151617181920212223242526272829303132333435
  1. # $OpenBSD: Makefile,v 1.11 2017/04/24 21:00:27 juanfra Exp $
  2. COMMENT = C-Extensions for Python
  3. MODPY_EGG_VERSION = 0.25.2
  4. DISTNAME = Cython-${MODPY_EGG_VERSION}
  5. PKGNAME = ${DISTNAME:L}
  6. CATEGORIES = lang
  7. HOMEPAGE = http://www.cython.org/
  8. MASTER_SITES = ${HOMEPAGE}release/ \
  9. ${MASTER_SITE_PYPI:=C/Cython/}
  10. MAINTAINER = Juan Francisco Cantero Hurtado <juanfra@openbsd.org>
  11. # Apache 2
  12. PERMIT_PACKAGE_CDROM = Yes
  13. WANTLIB += pthread ${MODPY_WANTLIB}
  14. MODULES = lang/python
  15. MODPY_PI = Yes
  16. MODPY_SETUPTOOLS = Yes
  17. TEST_TARGET = test
  18. MAKE_ENV += PYTHON=${MODPY_BIN}
  19. do-test:
  20. @cd ${WRKBUILD} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} \
  21. ${ALL_TEST_FLAGS} -f ${MAKE_FILE} ${TEST_TARGET}
  22. .include <bsd.port.mk>