a382bbffeb
conflict in behaviour with the read-only COMPILER_FEATURES knob - Fix the deprecated USE_PYTHON_BUILD and USE_PYTHON_RUN behaviour, which usually should be mutually exclusive, but some ports include both knobs Phabric: D581 Recommended by: danfe@, makc@ Reviewed by: danfe, wg, antoine Approved by: portmgr With hat: python@
28 lines
796 B
Makefile
28 lines
796 B
Makefile
# Created by: Hye-Shik Chang
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pyrex
|
|
PORTVERSION= 0.9.9
|
|
CATEGORIES= devel lang python
|
|
MASTER_SITES= http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/
|
|
PKGNAMEPREFIX= ${PYTHONPKGNAMEPREFIX}
|
|
DISTNAME= Pyrex-${PORTVERSION}
|
|
|
|
MAINTAINER= mva@FreeBSD.org
|
|
COMMENT= Programming Language for writing Python extension modules
|
|
|
|
LICENSE= APACHE20
|
|
|
|
USES= python:2
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}/Manual
|
|
@cd ${WRKSRC}/Doc && ${INSTALL_DATA} ./[^M]* ${STAGEDIR}${DOCSDIR}
|
|
@cd ${WRKSRC}/Doc/Manual && ${INSTALL_DATA} ./* ${STAGEDIR}${DOCSDIR}/Manual
|
|
@cd ${WRKSRC}/Demos && ${MAKE} clean
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
@${TAR} -C ${WRKSRC}/Demos -cf - . | \
|
|
${TAR} -C ${STAGEDIR}${EXAMPLESDIR} -xf -
|
|
|
|
.include <bsd.port.mk>
|