1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/devel/pyrex/Makefile
Marcus von Appen 82b2e2c65a - Enable stagedir support
- Use PYDISTUTILS_AUTOPLIST
- Restrict python compatibility
- Add LICENSE
2014-01-21 10:33:24 +00:00

30 lines
811 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
LICENSE= APACHE20
USE_PYTHON= 2
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
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>