Convert doxygen 1.6.3 recipe to an actual recipe

This commit is contained in:
Ingo Weinhold
2013-05-02 17:59:20 +02:00
parent 4f504b878a
commit 7d4774a6ac

View File

@@ -1,22 +1,59 @@
DESCRIPTION="Doxygen is a documentation system for C++, C, Java, Objective-C, Python, IDL (Corba and Microsoft flavors), Fortran, VHDL, PHP, C#, and to some extent D."
HOMEPAGE="http://www.doxygen.org"
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="1"
STATUS_HAIKU="stable"
DEPEND=""
REVISION="2"
ARCHITECTURES="x86_gcc2 ?x86"
PATCHES="doxygen-1.6.3.patch"
PROVIDES="
doxygen = $portVersion compat >= 1.6
cmd:doxygen = $portVersion compat >= 1.6
cmd:doxytag = $portVersion compat >= 1.6
"
REQUIRES="
haiku_devel >= $haikuVersion
"
BUILD_REQUIRES="
$REQUIRES
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
libiconv
cmd:bison
cmd:flex
cmd:gcc
cmd:ld
# cmd:libtoolize
cmd:make
cmd:perl
cmd:sed
"
SOURCE_DIR="$portVersionedName"
PATCH()
{
sed -i "s,MAN1DIR = man/man1,MAN1DIR = $relativeManDir/man1," Makefile.in
}
BUILD()
{
cd doxygen-1.6.3
sed -i 's/MAN1DIR = man\/man1/MAN1DIR = documentation\/man\/man1/' Makefile.in
./configure --prefix `finddir B_COMMON_DIRECTORY`
make
./configure --prefix $prefix --docdir $docDir
make $jobArgs
}
INSTALL()
{
cd doxygen-1.6.3
make install
}
LICENSE="GNU GPL v2"
COPYRIGHT="1997-2010 Dimitri van Heesch"