aboutsummaryrefslogtreecommitdiff
path: root/devel/pyrex/Makefile
blob: a8dc5bf83fbdf41b66d96eceffeda49180c49edc (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
# 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>