mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
36 lines
920 B
Makefile
36 lines
920 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
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS=yes
|
|
PYDISTUTILS_PKGNAME= Pyrex
|
|
|
|
NO_STAGE= yes
|
|
post-install:
|
|
@# precompile lexicon pickle
|
|
@cd ${WRKSRC}/Demos && ${PYTHON_CMD} ${PREFIX}/bin/pyrexc primes.pyx
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}/Manual
|
|
@cd ${WRKSRC}/Doc && ${INSTALL_DATA} ./[^M]* ${DOCSDIR}
|
|
@cd ${WRKSRC}/Doc/Manual && ${INSTALL_DATA} ./* ${DOCSDIR}/Manual
|
|
.endif
|
|
.if !defined(NOPORTEXAMPLES)
|
|
@cd ${WRKSRC}/Demos && ${MAKE} clean
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
@${TAR} -C ${WRKSRC}/Demos -cf - . | \
|
|
${TAR} -C ${EXAMPLESDIR} -xf -
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|