2011-12-30 17:43:54 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.14 2011/12/30 22:43:54 fgsch Exp $
|
2007-12-31 06:32:30 -05:00
|
|
|
|
2011-07-23 15:10:49 -04:00
|
|
|
COMMENT = package for creating PostScript/PDF graphics
|
2007-12-31 06:32:30 -05:00
|
|
|
|
2011-07-23 10:09:05 -04:00
|
|
|
MODPY_EGG_VERSION = 0.11.1
|
2011-07-23 15:10:49 -04:00
|
|
|
DISTNAME = PyX-${MODPY_EGG_VERSION}
|
|
|
|
PKGNAME = py-pyx-${MODPY_EGG_VERSION}
|
|
|
|
CATEGORIES = graphics devel
|
2011-12-30 17:43:54 -05:00
|
|
|
REVISION = 4
|
2007-12-31 06:32:30 -05:00
|
|
|
|
2011-07-23 15:10:49 -04:00
|
|
|
HOMEPAGE = http://pyx.sourceforge.net/
|
2007-12-31 06:32:30 -05:00
|
|
|
|
2011-07-23 15:10:49 -04:00
|
|
|
MAINTAINER = Benoit Lecocq <benoit@openbsd.org>
|
2007-12-31 06:32:30 -05:00
|
|
|
|
|
|
|
# GPLv2
|
2011-07-23 15:10:49 -04:00
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
2007-12-31 06:32:30 -05:00
|
|
|
|
2011-11-02 05:57:21 -04:00
|
|
|
WANTLIB += ${MODPY_WANTLIB}
|
|
|
|
|
2011-07-23 15:10:49 -04:00
|
|
|
MODULES = lang/python
|
2008-02-14 03:58:23 -05:00
|
|
|
|
2011-07-23 15:10:49 -04:00
|
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=pyx/}
|
2007-12-31 06:32:30 -05:00
|
|
|
|
2011-07-23 15:10:49 -04:00
|
|
|
RUN_DEPENDS = print/texlive/base \
|
2011-12-20 06:25:44 -05:00
|
|
|
graphics/py-Imaging
|
2007-12-31 06:32:30 -05:00
|
|
|
|
|
|
|
post-install:
|
2011-12-30 17:43:54 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-pyx
|
|
|
|
cd ${WRKSRC}/examples && pax -rw * ${PREFIX}/share/examples/py-pyx
|
2007-12-31 06:32:30 -05:00
|
|
|
|
|
|
|
do-regress: install
|
|
|
|
cd ${WRKSRC}/examples && for i in `find . -name "*.py"`; do \
|
|
|
|
echo $$i; \
|
|
|
|
cd ${WRKSRC}/examples/`dirname $$i`; \
|
|
|
|
${MODPY_BIN} `basename $$i`; \
|
|
|
|
done
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|