freebsd-ports/devel/pyrex/Makefile
Thierry Thomas 75cb042ef6 The current version of Pyrex, 0.9.6, contains bugs mentioned in the
change log for Pyrex 0.9.6.1. These bug(s) result in breaking ports
dependent on Pyrex. These issues has been resolved in Pyrex 0.9.6.1 and
later. The most recent version of Pyrex is 0.9.6.3 but it won't build
and a patch has been issued to the developer of Pyrex, I have therefore
chosen to update to version 0.9.6.2 which have been tested and fixes the
above mentioned issues with depending ports (for example py-fastaudio
which I maintain).

PR:		ports/117372
Submitted by:	Pontus Stenetorp <ninjin (at) kth.se>
2007-10-21 14:00:47 +00:00

38 lines
987 B
Makefile

# New ports collection makefile for: pyrex
# Date created: 11 April 2002
# Whom: Hye-Shik Chang
#
# $FreeBSD$
#
PORTNAME= pyrex
PORTVERSION= 0.9.6.2
CATEGORIES= devel lang python
MASTER_SITES= http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/%SUBDIR%/
MASTER_SITE_SUBDIR= . oldtar
PKGNAMEPREFIX= ${PYTHONPKGNAMEPREFIX}
DISTNAME= Pyrex-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Programming Language for writing Python extension modules
USE_PYTHON= yes
USE_PYDISTUTILS=yes
PYDISTUTILS_PKGNAME= Pyrex
post-install:
@# precompile lexicon pickle
@cd ${WRKSRC}/Demos && ${PYTHON_CMD} ${PREFIX}/bin/pyrexc primes.pyx
.if !defined(NOPORTDOCS)
@cd ${WRKSRC}/Demos && ${MAKE} clean
@${MKDIR} ${DOCSDIR}/Manual
@cd ${WRKSRC}/Doc && ${INSTALL_DATA} ./[^M]* ${DOCSDIR}
@cd ${WRKSRC}/Doc/Manual && ${INSTALL_DATA} ./* ${DOCSDIR}/Manual
@${MKDIR} ${EXAMPLESDIR}
@${TAR} -C ${WRKSRC}/Demos -cf - . | \
${TAR} -C ${EXAMPLESDIR} -xf -
.endif
.include <bsd.port.mk>