diff options
author | jlam <jlam> | 2008-04-12 22:42:57 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-04-12 22:42:57 +0000 |
commit | 9ff693053b2b42cd6a29b886e071ad01acdeefe2 (patch) | |
tree | fdd67c81079412bf94013749a954125434a9baca /graphics/py-matplotlib | |
parent | 4a580ef74536ed1f7c6a7ecd5a26e46a93aec9b3 (diff) | |
download | pkgsrc-9ff693053b2b42cd6a29b886e071ad01acdeefe2.tar.gz |
Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
Diffstat (limited to 'graphics/py-matplotlib')
-rw-r--r-- | graphics/py-matplotlib/Makefile | 7 | ||||
-rw-r--r-- | graphics/py-matplotlib/PLIST | 12 |
2 files changed, 9 insertions, 10 deletions
diff --git a/graphics/py-matplotlib/Makefile b/graphics/py-matplotlib/Makefile index d9bd387cec4..b88da893dd4 100644 --- a/graphics/py-matplotlib/Makefile +++ b/graphics/py-matplotlib/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2006/06/08 12:22:58 joerg Exp $ +# $NetBSD: Makefile,v 1.18 2008/04/12 22:43:01 jlam Exp $ # DISTNAME= matplotlib-0.87.2 @@ -20,10 +20,9 @@ PYDISTUTILSPKG= yes PYTHON_VERSIONS_ACCEPTED= 24 23 +PLIST_VARS+= subprocess .if ${PYPACKAGE} == "python22" || ${PYPACKAGE} == "python23" -PLIST_SUBST+= COND_SUBPROCESS="" -.else -PLIST_SUBST+= COND_SUBPROCESS="@comment " +PLIST.subprocess= yes .endif .include "../../devel/zlib/buildlink3.mk" diff --git a/graphics/py-matplotlib/PLIST b/graphics/py-matplotlib/PLIST index a96d572c406..d5ceeac02b9 100644 --- a/graphics/py-matplotlib/PLIST +++ b/graphics/py-matplotlib/PLIST @@ -1,5 +1,5 @@ -@comment $NetBSD: PLIST,v 1.7 2006/04/30 22:30:43 joerg Exp $ -@comment $NetBSD: PLIST,v 1.7 2006/04/30 22:30:43 joerg Exp $ +@comment $NetBSD: PLIST,v 1.8 2008/04/12 22:43:01 jlam Exp $ +@comment $NetBSD: PLIST,v 1.8 2008/04/12 22:43:01 jlam Exp $ ${PYSITELIB}/matplotlib/__init__.py ${PYSITELIB}/matplotlib/__init__.pyc ${PYSITELIB}/matplotlib/__init__.pyo @@ -474,9 +474,9 @@ ${PYSITELIB}/matplotlib/widgets.pyo ${PYSITELIB}/matplotlib/windowing.py ${PYSITELIB}/matplotlib/windowing.pyc ${PYSITELIB}/matplotlib/windowing.pyo -${COND_SUBPROCESS}${PYSITELIB}/subprocess/__init__.py -${COND_SUBPROCESS}${PYSITELIB}/subprocess/__init__.pyc -${COND_SUBPROCESS}${PYSITELIB}/subprocess/__init__.pyo +${PLIST.subprocess}${PYSITELIB}/subprocess/__init__.py +${PLIST.subprocess}${PYSITELIB}/subprocess/__init__.pyc +${PLIST.subprocess}${PYSITELIB}/subprocess/__init__.pyo ${PYSITELIB}/pylab.py ${PYSITELIB}/pylab.pyc ${PYSITELIB}/pylab.pyo @@ -497,4 +497,4 @@ ${PYSITELIB}/pylab.pyo @dirrm ${PYSITELIB}/matplotlib/enthought @dirrm ${PYSITELIB}/matplotlib/backends @dirrm ${PYSITELIB}/matplotlib -${COND_SUBPROCESS}@dirrm ${PYSITELIB}/subprocess +${PLIST.subprocess}@dirrm ${PYSITELIB}/subprocess |