openbsd-ports/textproc/py-Chart/Makefile

37 lines
821 B
Makefile

# $OpenBSD: Makefile,v 1.16 2005/09/23 19:41:45 pvalchev 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/
# 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>