openbsd-ports/textproc/py-Chart/Makefile
2004-08-03 21:31:06 +00:00

39 lines
860 B
Makefile

# $OpenBSD: Makefile,v 1.15 2004/08/03 21:34:43 xsa Exp $
COMMENT= "Python library for creating postscript or PDF charts"
VERSION= 1.35
DISTNAME= PyChart-${VERSION}
PKGNAME= py-Chart-${VERSION}
CATEGORIES= textproc devel
HOMEPAGE= http://www.hpl.hp.com/personal/Yasushi_Saito/pychart/
MAINTAINER= Shell Hung <shell@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}
MODULES= lang/python
RUN_DEPENDS+= :ghostscript-*:print/ghostscript/gnu
NO_REGRESS= Yes
DOCSDIR= ${PREFIX}/share/doc/py-Chart
EXAMPLESDIR= ${PREFIX}/share/examples/py-Chart
post-install:
${INSTALL_DATA_DIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/pychart/* ${DOCSDIR}
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/demos/*.py ${EXAMPLESDIR}
.include <bsd.port.mk>