Files
haikuports/app-doc/doxygen/doxygen-1.6.3.recipe
2014-01-02 16:40:56 -05:00

71 lines
2.1 KiB
Plaintext

SUMMARY="Generate documentation from source code"
DESCRIPTION="
Doxygen is the de facto standard tool for generating documentation from \
annotated C++ sources, but it also supports other popular programming \
languages such as C, Objective-C, C#, PHP, Java, Python, IDL (Corba and \
Microsoft flavors), Fortran, VHDL, Tcl, and to some extent D.
Doxygen can help you in three ways:
1. It can generate an on-line documentation browser (in HTML) and/or an \
off-line reference manual (in $\mbox{\LaTeX}$) from a set of documented source \
files. There is also support for generating output in RTF (MS-Word), \
PostScript, hyperlinked PDF, compressed HTML, and Unix man pages. The \
documentation is extracted directly from the sources, which makes it much \
easier to keep the documentation consistent with the source code.
2. You can configure doxygen to extract the code structure from undocumented \
source files. This is very useful to quickly find your way in large source \
distributions. Doxygen can also visualize the relations between the various \
elements by means of include dependency graphs, inheritance diagrams, and \
collaboration diagrams, which are all generated automatically.
3. You can also use doxygen for creating normal documentation (as I did for \
the doxygen user manual and web-site).
"
HOMEPAGE="http://www.doxygen.org"
COPYRIGHT="1997-2010 Dimitri van Heesch"
LICENSE="GNU GPL v2"
SRC_URI="http://ftp.stack.nl/pub/users/dimitri/doxygen-1.6.3.src.tar.gz"
CHECKSUM_MD5="2d6ea20a9d850d94321cee78bab7bb87"
REVISION="4"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PATCHES="doxygen-1.6.3.patchset"
PROVIDES="
doxygen = $portVersion compat >= 1.6
cmd:doxygen = $portVersion compat >= 1.6
cmd:doxytag = $portVersion compat >= 1.6
"
REQUIRES="
haiku >= $haikuVersion
lib:libiconv
"
BUILD_REQUIRES="
devel:libiconv
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
cmd:bison
cmd:flex
cmd:gcc
cmd:ld
cmd:make
cmd:perl
cmd:sed
"
PATCH()
{
sed -i "s,MAN1DIR = man/man1,MAN1DIR = $relativeManDir/man1," Makefile.in
}
BUILD()
{
./configure --prefix $prefix --docdir $docDir
make $jobArgs
}
INSTALL()
{
make install
}