mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
79 lines
1.9 KiB
Plaintext
79 lines
1.9 KiB
Plaintext
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/"
|
|
SRC_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 >= $haikuVersion
|
|
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 "<!DOCTYPE catalog
|
|
PUBLIC \"-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN\"
|
|
\"http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd\">
|
|
<catalog xmlns=\"urn:oasis:names:tc:entity:xmlns:xml:catalog\"
|
|
prefer=\"public\">
|
|
" > xmlcat
|
|
|
|
for i in /system/data/xml/catalog/*
|
|
do
|
|
echo " <nextCatalog catalog=\"file://$i\"/>" >> xmlcat
|
|
done
|
|
|
|
echo "</catalog>" >> 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"
|