diff options
author | wiz <wiz@pkgsrc.org> | 2010-09-25 12:29:01 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2010-09-25 12:29:01 +0000 |
commit | 2a06263ee784d6a42bb8688c563f537afec36c4f (patch) | |
tree | d010cd2ea9fdf8cfd73c3d6a709e7924165f50dd /graphics | |
parent | 293b7dc14f3d59867d2323b2199101031f24a306 (diff) | |
download | pkgsrc-2a06263ee784d6a42bb8688c563f537afec36c4f.tar.gz |
Generate html docs in build phase (instead of install phase).
gnome-doc-tool seems to ignore "-o html" so manually generate
the same effect.
Solves PLIST problem due to missing html files.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/geeqie/Makefile | 5 | ||||
-rw-r--r-- | graphics/geeqie/distinfo | 3 | ||||
-rw-r--r-- | graphics/geeqie/patches/patch-ab | 13 |
3 files changed, 19 insertions, 2 deletions
diff --git a/graphics/geeqie/Makefile b/graphics/geeqie/Makefile index 466b3e1f1f1..c7ac4e75c6c 100644 --- a/graphics/geeqie/Makefile +++ b/graphics/geeqie/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2010/09/14 11:01:57 wiz Exp $ +# $NetBSD: Makefile,v 1.12 2010/09/25 12:29:01 wiz Exp $ # DISTNAME= geeqie-1.0 @@ -21,6 +21,9 @@ REPLACE_BASH= plugins/rotate/geeqie-rotate REPLACE_BASH+= plugins/ufraw/geeqie-ufraw REPLACE_BASH+= plugins/import/geeqie-import +post-build: + cd ${WRKSRC}/doc && ${MAKE_PROGRAM} html + .include "../../graphics/exiv2/buildlink3.mk" .include "../../graphics/lcms/buildlink3.mk" .include "../../sysutils/desktop-file-utils/desktopdb.mk" diff --git a/graphics/geeqie/distinfo b/graphics/geeqie/distinfo index 3a5fbee5c3e..fa227f9c781 100644 --- a/graphics/geeqie/distinfo +++ b/graphics/geeqie/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.4 2010/02/20 20:50:34 gdt Exp $ +$NetBSD: distinfo,v 1.5 2010/09/25 12:29:01 wiz Exp $ SHA1 (geeqie-1.0.tar.gz) = 8494a557d67d20e6ad720645ec789dd2b33a3266 RMD160 (geeqie-1.0.tar.gz) = f410b5f7bca872f4e67dc2b9f9ffe8e0cedf291a Size (geeqie-1.0.tar.gz) = 1934236 bytes +SHA1 (patch-ab) = 7a8a882489f9a6c9ea810051229a41803954be72 SHA1 (patch-ac) = 4109912f790351c4cc14d6db753c9571a421ae36 diff --git a/graphics/geeqie/patches/patch-ab b/graphics/geeqie/patches/patch-ab new file mode 100644 index 00000000000..fc71b92b191 --- /dev/null +++ b/graphics/geeqie/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.4 2010/09/25 12:29:01 wiz Exp $ + +--- doc/Makefile.in.orig 2010-09-25 12:02:12.000000000 +0000 ++++ doc/Makefile.in +@@ -408,7 +408,7 @@ uninstall-am: uninstall-helpDATA + html/GuideIndex.html: docbook/GuideIndex.xml + rm -rf html; mkdir html + if [ -x "$(GNOME_DOC_TOOL)" ]; then \ +- "$(GNOME_DOC_TOOL)" html -o html $(srcdir)/docbook/GuideIndex.xml ; \ ++ cd html && "$(GNOME_DOC_TOOL)" html ../$(srcdir)/docbook/GuideIndex.xml ; \ + else \ + echo "gnome-doc-tool not found, html is not built" ; \ + fi |