openbsd-ports/textproc/py-Chart/Makefile
2011-06-08 18:09:58 +00:00

36 lines
778 B
Makefile

# $OpenBSD: Makefile,v 1.25 2011/06/08 18:09:58 jasper Exp $
COMMENT= Python library for creating postscript or PDF charts
MODPY_EGG_VERSION= 1.39
DISTNAME= PyChart-${MODPY_EGG_VERSION}
PKGNAME= py-Chart-${MODPY_EGG_VERSION}
REVISION= 1
CATEGORIES= textproc devel
HOMEPAGE= http://home.gna.org/pychart/
MAINTAINER= Benoit Lecocq <benoit@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://download.gna.org/pychart/
MODULES= lang/python
RUN_DEPENDS+= print/ghostscript/gnu
NO_REGRESS= Yes
EXAMPLESDIR= ${PREFIX}/share/examples/py-Chart
post-install:
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/demos/*.py ${EXAMPLESDIR}
.include <bsd.port.mk>