summaryrefslogtreecommitdiff
path: root/textproc/py-docutils
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-04-12 22:42:57 +0000
committerjlam <jlam@pkgsrc.org>2008-04-12 22:42:57 +0000
commit841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a (patch)
treefdd67c81079412bf94013749a954125434a9baca /textproc/py-docutils
parent6874584eae20f517f70816571f6d4ac696db16b3 (diff)
downloadpkgsrc-841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a.tar.gz
Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
Diffstat (limited to 'textproc/py-docutils')
-rw-r--r--textproc/py-docutils/Makefile7
-rw-r--r--textproc/py-docutils/PLIST14
2 files changed, 10 insertions, 11 deletions
diff --git a/textproc/py-docutils/Makefile b/textproc/py-docutils/Makefile
index 99ac79bdd80..4852ad97824 100644
--- a/textproc/py-docutils/Makefile
+++ b/textproc/py-docutils/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2007/06/17 14:34:12 joerg Exp $
+# $NetBSD: Makefile,v 1.23 2008/04/12 22:43:13 jlam Exp $
DISTNAME= docutils-0.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -17,10 +17,9 @@ PYDISTUTILSPKG= YES
.include "../../lang/python/extension.mk"
+PLIST_VARS+= std
.if !empty(PYVERSSUFFIX:M2*[12])
-PLIST_SUBST+= PYSTDMODULE=""
-.else
-PLIST_SUBST+= PYSTDMODULE="@comment "
+PLIST.std= yes
.endif
.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/py-docutils/PLIST b/textproc/py-docutils/PLIST
index 45dd1f42584..314ef42b621 100644
--- a/textproc/py-docutils/PLIST
+++ b/textproc/py-docutils/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.10 2007/06/17 14:34:12 joerg Exp $
+@comment $NetBSD: PLIST,v 1.11 2008/04/12 22:43:13 jlam Exp $
bin/rst2html.py
bin/rst2latex.py
bin/rst2newlatex.py
@@ -335,12 +335,12 @@ ${PYSITELIB}/docutils/writers/s5_html/themes/small-white/pretty.css
${PYSITELIB}/roman.py
${PYSITELIB}/roman.pyc
${PYSITELIB}/roman.pyo
-${PYSTDMODULE}${PYSITELIB}/optparse.py
-${PYSTDMODULE}${PYSITELIB}/optparse.pyc
-${PYSTDMODULE}${PYSITELIB}/optparse.pyo
-${PYSTDMODULE}${PYSITELIB}/textwrap.py
-${PYSTDMODULE}${PYSITELIB}/textwrap.pyc
-${PYSTDMODULE}${PYSITELIB}/textwrap.pyo
+${PLIST.std}${PYSITELIB}/optparse.py
+${PLIST.std}${PYSITELIB}/optparse.pyc
+${PLIST.std}${PYSITELIB}/optparse.pyo
+${PLIST.std}${PYSITELIB}/textwrap.py
+${PLIST.std}${PYSITELIB}/textwrap.pyc
+${PLIST.std}${PYSITELIB}/textwrap.pyo
@dirrm ${PYSITELIB}/docutils/writers/s5_html/themes/small-white
@dirrm ${PYSITELIB}/docutils/writers/s5_html/themes/small-black
@dirrm ${PYSITELIB}/docutils/writers/s5_html/themes/medium-white