pkgsrc/graphics/py-pygal/options.mk
rodent f09f851685 Import py27-pygal-1.4.6 as graphics/py-pygal.
pygal is a dynamic SVG charting library written in python. All the documentation
is on http://pygal.org/.
2014-05-17 13:59:37 +00:00

20 lines
729 B
Makefile

# $NetBSD: options.mk,v 1.1 2014/05/17 13:59:37 rodent Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.py-pygal
PKG_SUPPORTED_OPTIONS= png tests
PKG_SUGGESTED_OPTIONS+= png
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mpng)
DEPENDS+= ${PYPKGPREFIX}-cairosvg-[0-9]*:../../converters/py-cairosvg
DEPENDS+= ${PYPKGPREFIX}-tinycss-[0-9]*:../../textproc/py-tinycss
DEPENDS+= ${PYPKGPREFIX}-cssselect-[0-9]*:../../textproc/py-cssselect
.endif
.if !empty(PKG_OPTIONS:Mtests)
DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
DEPENDS+= ${PYPKGPREFIX}-pyquery-[0-9]*:../../textproc/py-pyquery
DEPENDS+= ${PYPKGPREFIX}-flask-[0-9]*:../../www/py-flask
DEPENDS+= ${PYPKGPREFIX}-cairosvg-[0-9]*:../../converters/py-cairosvg
.endif