SUMMARY="Generate documentation from C sources" DESCRIPTION=" GTK-Doc is a project which was started to generate API documentation from \ comments added to C code. It is typically used to document the public API of \ GTK+ and GNOME libraries, but it can also be used to document application code. " HOMEPAGE="http://www.gtk.org/gtk-doc/" SOURCE_URI="http://ftp.gnome.org/pub/GNOME/sources/gtk-doc/$portVersion/gtk-doc-$portVersion.tar.xz" CHECKSUM_SHA256="3e6ecf134dbf92a74c24d79848fea3a48e59ab95408a38c6405905d95a293011" REVISION="1" ARCHITECTURES="x86_gcc2 x86 x86_64" PROVIDES=" gtk_doc = $portVersion cmd:gtkdoc_check cmd:gtkdoc_depscan cmd:gtkdoc_fixxref cmd:gtkdoc_mkdb cmd:gtkdoc_mkhtml cmd:gtkdoc_mkman cmd:gtkdoc_mkpdf cmd:gtkdoc_mktmpl cmd:gtkdoc_rebase cmd:gtkdoc_scan cmd:gtkdoc_scangobj cmd:gtkdoc_scanobj cmd:gtkdocize " BUILD_REQUIRES=" docbook_xml_dtd docbook_xsl_stylesheets " BUILD_PREREQUIRES=" haiku_devel cmd:autoconf cmd:awk cmd:gcc cmd:itstool cmd:make cmd:msgfmt cmd:perl cmd:pkg_config cmd:python cmd:xsltproc " SOURCE_DIR="gtk-doc-$portVersion" BUILD() { # Generate an XML catalog that includes both the Docbook-XML and Docbook-XSL # ones. Linux distros populate a global catalog file using post-install # scripts in the docbook packages, but we don't have that yet. echo " " > xmlcat for i in /system/data/xml/catalog/* do echo " " >> xmlcat done echo "" >> xmlcat runConfigure ./configure --with-xml-catalog=`pwd`/xmlcat make $jobArgs } INSTALL() { make install } LICENSE="GNU GPL v2" COPYRIGHT="2002-2010 Damon Chaplin and Owen Taylor"