openbsd-ports/graphics/pycha/Makefile
wcmaier 2d1aac27cd Import pycha.
Pycha is a very simple Python package for drawing charts using the great
Cairo library. Its goals are to be lightweight, simple to use, nice
looking with default values, allow customization. It won't try to draw
any possible chart on earth but draw the most common ones nicely.

from niallo@; ok merdely@
2008-05-08 15:45:26 +00:00

41 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2008/05/08 15:45:26 wcmaier Exp $
COMMENT = Python charting module
MODPY_EGG_VERSION = 0.3.0
DISTNAME = pycha-${MODPY_EGG_VERSION}
CATEGORIES = graphics
HOMEPAGE = http://www.lorenzogil.com/projects/pycha/
MAINTAINER = Niall O Higgins <niallo@openbsd.org>
# LGPL
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = http://pypi.python.org/packages/source/p/pycha/
MODULES = lang/python
USE_LIBTOOL = Yes
USE_X11 = Yes
MODPY_SETUPTOOLS = Yes
RUN_DEPENDS = ::graphics/py-cairo
REGRESS_DEPENDS = ${RUN_DEPENDS}
do-regress: fake
@cd ${WRKSRC}/tests && ${MAKE_ENV} \
PYTHONPATH=${WRKINST}${MODPY_SITEPKG} \
${MODPY_BIN} ./runner.py
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/pycha
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pycha
${INSTALL_DATA} ${WRKSRC}/examples/* ${PREFIX}/share/examples/pycha/
${INSTALL_DATA} ${WRKSRC}/README.txt ${PREFIX}/share/doc/pycha/
.include <bsd.port.mk>