1 | # $Id: $ |
---|
2 | PortSystem 1.0 |
---|
3 | name doxygen |
---|
4 | version 1.3 |
---|
5 | categories textproc devel |
---|
6 | maintainers blb@pobox.com |
---|
7 | description Documentation system for several programming languages |
---|
8 | |
---|
9 | long_description \ |
---|
10 | It can generate an on-line documentation browser (in HTML) and/or an \ |
---|
11 | off-line reference manual from a set of documented source files. \ |
---|
12 | There is also support for generating output in RTF (MS-Word), \ |
---|
13 | PostScript, hyperlinked PDF, compressed HTML, and Unix man pages. The \ |
---|
14 | documentation is extracted directly from the sources, which makes it \ |
---|
15 | much easier to keep the documentation consistent with the source code. \ |
---|
16 | You can configure doxygen to extract the code structure from \ |
---|
17 | undocumented source files. This is very useful to quickly find your \ |
---|
18 | way in large source distributions. You can also visualize the \ |
---|
19 | relations between the various elements by means of include dependency \ |
---|
20 | graphs, inheritance diagrams, and collaboration diagrams, which are \ |
---|
21 | all generated automatically. |
---|
22 | |
---|
23 | homepage http://www.doxygen.org/ |
---|
24 | master_sites ftp://ftp.stack.nl/pub/users/dimitri/ |
---|
25 | |
---|
26 | platforms darwin |
---|
27 | distfiles ${distname}.src${extract.sufx} |
---|
28 | checksums md5 1d08cd47f72341a568216aede9872bbf |
---|
29 | |
---|
30 | depends_lib bin:tex:teTeX bin:gs:ghostscript lib:libpng:libpng lib:libqt-mt:qt3 bin:dot:graphviz bin:ginstall:fileutils |
---|
31 | |
---|
32 | # setup to work smoothly with Qt3 (and fix an issue in the manual TeX) |
---|
33 | patchfiles patch-Makefile.doxywizard patch-doxygen_manual.tex |
---|
34 | post-patch { |
---|
35 | reinplace "s|\$(QTDIR)/include|${prefix}/include/qt3|g" \ |
---|
36 | "${workpath}/${worksrcdir}/tmake/lib/macosx-c++/tmake.conf" |
---|
37 | reinplace "s|\$(QTDIR)/lib|${prefix}/lib|g" \ |
---|
38 | "${workpath}/${worksrcdir}/tmake/lib/macosx-c++/tmake.conf" |
---|
39 | reinplace "s|= -lqt|= -lqt-mt|g" \ |
---|
40 | "${workpath}/${worksrcdir}/tmake/lib/macosx-c++/tmake.conf" |
---|
41 | } |
---|
42 | |
---|
43 | |
---|
44 | configure.pre_args --prefix ${prefix} |
---|
45 | configure.args --docdir ${prefix}/share/doc --with-doxywizard |
---|
46 | configure.env QTDIR=${prefix} |
---|
47 | |
---|
48 | build.target all docs |
---|
49 | |
---|
50 | install.target install_docs |
---|
51 | install.args INSTALL=${destroot}/${prefix} DOCDIR=${destroot}/${prefix}/share/doc/doxygen |
---|
52 | |
---|