diff options
author | drochner <drochner@pkgsrc.org> | 2006-05-02 13:41:58 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2006-05-02 13:41:58 +0000 |
commit | 6149e8c1402b0a98f46b5b78d3901ba3ab0d3b82 (patch) | |
tree | 39ecf74eef1f7692e3a20b5941983aa0b3a389c6 /textproc | |
parent | f224931835f7a9a203ad10a4db3febdccccee4ea (diff) | |
download | pkgsrc-6149e8c1402b0a98f46b5b78d3901ba3ab0d3b82.tar.gz |
precompile python scripts
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/gnome-doc-utils/Makefile | 7 | ||||
-rw-r--r-- | textproc/gnome-doc-utils/PLIST | 5 |
2 files changed, 10 insertions, 2 deletions
diff --git a/textproc/gnome-doc-utils/Makefile b/textproc/gnome-doc-utils/Makefile index 82c27b231fa..a2e2c56739d 100644 --- a/textproc/gnome-doc-utils/Makefile +++ b/textproc/gnome-doc-utils/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2006/04/06 06:22:50 reed Exp $ +# $NetBSD: Makefile,v 1.18 2006/05/02 13:41:58 drochner Exp $ # DISTNAME= gnome-doc-utils-0.6.0 @@ -34,6 +34,11 @@ BUILDLINK_API_DEPENDS.libxml2+= libxml2>=2.6.12 BUILDLINK_DEPMETHOD.libxslt?= build BUILDLINK_DEPMETHOD.libxml2?= build +PYCOMPILEALL= ${BUILDLINK_PREFIX.${PYPACKAGE}}/${PYLIB}/compileall.py + +post-install: + ${PYTHONBIN} ${PYCOMPILEALL} ${PREFIX}/share/xml2po + .include "../../lang/python/application.mk" .include "../../textproc/intltool/buildlink3.mk" .include "../../textproc/libxml2/buildlink3.mk" diff --git a/textproc/gnome-doc-utils/PLIST b/textproc/gnome-doc-utils/PLIST index 50aee18e92d..8fa6a8714c8 100644 --- a/textproc/gnome-doc-utils/PLIST +++ b/textproc/gnome-doc-utils/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.3 2006/03/12 22:14:09 jmmv Exp $ +@comment $NetBSD: PLIST,v 1.4 2006/05/02 13:41:58 drochner Exp $ bin/gnome-doc-prepare bin/xml2po lib/pkgconfig/gnome-doc-utils.pc @@ -44,8 +44,11 @@ share/xml/gnome/xslt/gettext/l10n-numbers.xsl share/xml/gnome/xslt/gettext/l10n.xml share/xml/gnome/xslt/xsldoc/xsldoc.xsl share/xml2po/docbook.py +share/xml2po/docbook.pyc share/xml2po/empty.py +share/xml2po/empty.pyc share/xml2po/gs.py +share/xml2po/gs.pyc @dirrm share/xml2po @dirrm share/xml/gnome/xslt/xsldoc @dirrm share/xml/gnome/xslt/gettext |