From 7d4774a6ac350591c96fe89fa2e62b83206cafdb Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Thu, 2 May 2013 17:59:20 +0200 Subject: [PATCH] Convert doxygen 1.6.3 recipe to an actual recipe --- app-doc/doxygen/doxygen-1.6.3.recipe | 61 ++++++++++++++++++++++------ 1 file changed, 49 insertions(+), 12 deletions(-) diff --git a/app-doc/doxygen/doxygen-1.6.3.recipe b/app-doc/doxygen/doxygen-1.6.3.recipe index 3711e6e59..6e47795fe 100644 --- a/app-doc/doxygen/doxygen-1.6.3.recipe +++ b/app-doc/doxygen/doxygen-1.6.3.recipe @@ -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"