1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/graphics/py-PyX/Makefile
Martin Wilke be102168c1 - Update to 0.10
Changelog:
	* new graph modules
	* new graph styles
	* a new mesh module and a lot of other new stuff, bug fixes and changes.

PR:		117281
Submitted by:	Marcus von Appen <mva@sysfault.org> (maintainer)
2007-10-24 12:26:05 +00:00

40 lines
1017 B
Makefile

# ex:ts=8
# Ports collection makefile for: PyX
# Date created: Jun 8, 2004
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= PyX
PORTVERSION= 0.10
CATEGORIES= graphics python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME:L}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= mva@sysfault.org
COMMENT= A Python package for the creation of encapsulated PostScript figures
BUILD_DEPENDS= kpsewhich:${PORTSDIR}/print/teTeX
USE_PYTHON= 2.3+
USE_PYDISTUTILS= yes
PLIST_FILES= etc/pyxrc
post-patch:
@${REINPLACE_CMD} -e 's|/etc|etc|g' ${WRKSRC}/setup.py
post-install:
@${FIND} ${PYTHONPREFIX_SITELIBDIR}/pyx ! -type d | \
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} ${PYTHONPREFIX_SITELIBDIR}/pyx -type d | ${SORT} -r | \
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
@${FIND} ${PREFIX}/share/pyx ! -type d | \
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} ${PREFIX}/share/pyx -type d | ${SORT} -r | \
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
.include <bsd.port.mk>