freebsd-ports/devel/pyrex/Makefile
Marcus von Appen a382bbffeb - Rename PYTHON_FEATURES to USE_PYTHON to comply to USE_PERL5 and to avoid a
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@
2014-08-14 17:04:30 +00:00

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>