blob: 9e5351c7a724475a62d116a417983eee38295828 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# New ports collection makefile for: pyrex
# Date created: 11 April 2002
# Whom: 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
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>
|