summaryrefslogtreecommitdiff
path: root/textproc/gnome-doc-utils
diff options
context:
space:
mode:
authordrochner <drochner>2006-05-02 13:41:58 +0000
committerdrochner <drochner>2006-05-02 13:41:58 +0000
commita081fb2a9f4a5fa7a6838ac1394153c51f90ecd4 (patch)
tree39ecf74eef1f7692e3a20b5941983aa0b3a389c6 /textproc/gnome-doc-utils
parentbee340a175c570929f90ab6c4a29106ed1eb5317 (diff)
downloadpkgsrc-a081fb2a9f4a5fa7a6838ac1394153c51f90ecd4.tar.gz
precompile python scripts
Diffstat (limited to 'textproc/gnome-doc-utils')
-rw-r--r--textproc/gnome-doc-utils/Makefile7
-rw-r--r--textproc/gnome-doc-utils/PLIST5
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