summaryrefslogtreecommitdiff
path: root/textproc/gtk-doc/Makefile
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2007-04-10 17:38:27 +0000
committerdrochner <drochner@pkgsrc.org>2007-04-10 17:38:27 +0000
commitbf9243b6d17f27fa5312fce712b39006fe33338b (patch)
tree1fdce858e81e0bfe9a79263f7e39b225afbe8cf8 /textproc/gtk-doc/Makefile
parent533830deed0ccf965e05b90c727f3ea6d17549d4 (diff)
downloadpkgsrc-bf9243b6d17f27fa5312fce712b39006fe33338b.tar.gz
update to 1.8
pkgsrc change: make SGML output optional, off per default, which saves the heavyweight dependency on jade other changes: o Made it easier to include example code in the source code comment blocks. "|[ ... ]|" can be used to delineate example code (it just gets converted to "<informalexample><programlisting>"), and most of the text in example code is left as it is. The only thing that is still expanded is '#' to allow links to a symbol's documentation, e.g. '#GtkWidget'. o Made the field widths wider for the HTML output, so it looks a bit nicer. o Added a '--rebuild-sections' option to gtkdoc-scan to automatically rebuild the MODULE-sections.txt file. This only works if all the header files are organized neatly and functions don't need rearranging in the docs. o Added a '--rebuild-types' option to gtkdoc-scan to automatically rebuild the MODULE.types file, so you don't need to add new types manually. o Leave CDATA sections as they are, in the extra XML content files and within source code comment blocks. o Allow the section id and #include's to be set within the "SECTION:" comment block, using "@Section_ID:xxx" and "@Include:". o Added "--default-includes" option to specify the default #include's (for people who are using --rebuild-sections and so can't specify it in MODULE-sections.txt). o Added a '--query-child-properties' argument to help document child properties of arbitrary GObjects (used by things like canvas widgets). o Fixed documentation of signals of interfaces.
Diffstat (limited to 'textproc/gtk-doc/Makefile')
-rw-r--r--textproc/gtk-doc/Makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/textproc/gtk-doc/Makefile b/textproc/gtk-doc/Makefile
index 2afd79c85a2..b5eb7321046 100644
--- a/textproc/gtk-doc/Makefile
+++ b/textproc/gtk-doc/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.27 2006/08/06 19:03:33 jmmv Exp $
+# $NetBSD: Makefile,v 1.28 2007/04/10 17:38:27 drochner Exp $
#
-DISTNAME= gtk-doc-1.7
+DISTNAME= gtk-doc-1.8
CATEGORIES= textproc
-MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gtk-doc/1.7/}
+MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gtk-doc/1.8/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
@@ -12,7 +12,6 @@ COMMENT= Tools for authors of the GTK+ reference documentation
DEPENDS+= docbook-xml>=4.4nb1:../../textproc/docbook-xml
DEPENDS+= docbook-xsl>=1.68.1:../../textproc/docbook-xsl
-DEPENDS+= dsssl-docbook-modular-[0-9]*:../../textproc/dsssl-docbook-modular
GNU_CONFIGURE= YES
PKGCONFIG_OVERRIDE= gtk-doc.pc.in
@@ -20,9 +19,16 @@ CONFIGURE_ARGS+= --with-xml-catalog=${XML_DEFAULT_CATALOG:Q}
USE_DIRS+= gnome2-1.6
USE_TOOLS+= perl:run
-SGML_CATALOGS= ${PREFIX}/share/sgml/gtk-doc/gtk-doc.cat
+PKG_OPTIONS_VAR= PKG_OPTIONS.gtkdoc
+PKG_SUPPORTED_OPTIONS= sgml
+.include "../../mk/bsd.options.mk"
+.if !empty(PKG_OPTIONS:Msgml)
+DEPENDS+= dsssl-docbook-modular-[0-9]*:../../textproc/dsssl-docbook-modular
+SGML_CATALOGS= ${PREFIX}/share/sgml/gtk-doc/gtk-doc.cat
.include "../../textproc/jade/buildlink3.mk"
+.endif
+
.include "../../textproc/libxslt/buildlink3.mk"
.include "../../textproc/scrollkeeper/omf.mk"
.include "../../textproc/xmlcatmgr/catalogs.mk"