openbsd-ports/textproc/py-Chart/Makefile
2010-11-20 19:56:47 +00:00

36 lines
777 B
Makefile

# $OpenBSD: Makefile,v 1.24 2010/11/20 19:56:51 espie 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= 0
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>