mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
81 lines
2.4 KiB
Bash
81 lines
2.4 KiB
Bash
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:
|
|
* generate an on-line documentation browser (in HTML) and/or an \
|
|
off-line reference manual (in 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.
|
|
* 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."
|
|
HOMEPAGE="http://www.doxygen.org/"
|
|
COPYRIGHT="1997-2025 Dimitri van Heesch"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/doxygen/doxygen/archive/Release_${portVersion//./_}.tar.gz"
|
|
CHECKSUM_SHA256="5663bf33e979381f470c2f4055c3b162e0abe41bdd6c5dccefd8d8775780bcc3"
|
|
SOURCE_DIR="doxygen-Release_${portVersion//./_}"
|
|
ADDITIONAL_FILES="doxygen.rdef.in"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
portVersionCompat="$portVersion compat >= 1.14"
|
|
|
|
PROVIDES="
|
|
doxygen$secondaryArchSuffix = $portVersionCompat
|
|
cmd:doxygen = $portVersionCompat
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libiconv$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libiconv$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:bison
|
|
cmd:cmake
|
|
cmd:flex
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:python3
|
|
"
|
|
|
|
TEST_REQUIRES="
|
|
#cmd:bibtex # needed for test 12, but that doesn't work
|
|
cmd:diff
|
|
#cmd:perl # needed for test 12, but that doesn't work
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=Release \
|
|
$cmakeDirArgs \
|
|
-DCMAKE_INSTALL_BINDIR=$prefix/bin \
|
|
-Dbuild_wizard=OFF
|
|
make -Cbuild $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make -Cbuild install
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
#The following tests FAILED:
|
|
# 12 - 012_cite (Failed)
|
|
ctest --test-dir build --output-on-failure
|
|
}
|