aboutsummaryrefslogtreecommitdiff
path: root/devel/pyrex/Makefile
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2006-04-22 02:43:01 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2006-04-22 02:43:01 +0000
commita3c05581da550456f775221c7d07cca8763a0605 (patch)
tree0a2a778635c799dc422c835d2a551fcb1e3b2353 /devel/pyrex/Makefile
parentc1f58e507755099b125ecdf61894fbd821a97765 (diff)
Notes
Diffstat (limited to 'devel/pyrex/Makefile')
-rw-r--r--devel/pyrex/Makefile13
1 files changed, 1 insertions, 12 deletions
diff --git a/devel/pyrex/Makefile b/devel/pyrex/Makefile
index ea3d0cb7725d..5f42280899b3 100644
--- a/devel/pyrex/Makefile
+++ b/devel/pyrex/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= pyrex
-PORTVERSION= 0.9.3
-PORTREVISION= 1
+PORTVERSION= 0.9.4.1
CATEGORIES= devel lang python
MASTER_SITES= http://nz.cosc.canterbury.ac.nz/~greg/python/Pyrex/
PKGNAMEPREFIX= ${PYTHONPKGNAMEPREFIX}
@@ -20,16 +19,6 @@ USE_PYTHON= yes
USE_PYDISTUTILS=yes
USE_REINPLACE= yes
-post-patch:
- @${REINPLACE_CMD} -e 's|^PYINCLUDE =.*|PYINCLUDE=${PYTHON_INCLUDEDIR}|g' \
- -e 's|\.\./py|${PREFIX}/bin/py|g' ${WRKSRC}/Demos/Makefile
- @${REINPLACE_CMD} -e 's|sys.platform in ("unix", "darwin")|1|g'\
- ${WRKSRC}/setup.py
- @${REINPLACE_CMD} -e 's|from Plex|from Pyrex.Plex|g' \
- ${WRKSRC}/Pyrex/Compiler/Lexicon.py
- @${RM} -f ${WRKSRC}/Demos/Makefile.bak
- @${FIND} ${WRKSRC} -name .DS_Store | ${XARGS} ${RM} -f
-
post-install:
@# precompile lexicon pickle
@cd ${WRKSRC}/Demos && ${PYTHON_CMD} ${PREFIX}/bin/pyrexc primes.pyx