source: trunk/dports/textproc/doxygen/Portfile @ 10154

Last change on this file since 10154 was 10154, checked in by blb, 15 years ago

Port: doxygen
Version: 1.4.0

Update port textproc/doxygen
Version bump to 1.4.0

  • Property svn:eol-style set to native
File size: 2.5 KB
Line 
1# $Id: Portfile,v 1.10 2005/01/02 04:46:58 blb Exp $
2
3PortSystem                      1.0
4name                            doxygen
5version                         1.4.0
6categories                      textproc devel
7maintainers                     blb@pobox.com
8description                     Documentation system for several programming languages
9long_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
23platforms                       darwin
24
25homepage                        http://www.doxygen.org/
26master_sites            ftp://ftp.stack.nl/pub/users/dimitri/
27distfiles                       ${distname}.src${extract.suffix}
28
29checksums                       md5 5ecf124640f35dbf14bbf38d7f0bf1a5 \
30                                        sha1 2dde2ddd1141ce9d0aae02b68f0fac8fc71ed03d
31
32depends_lib                     bin:tex:teTeX bin:gs:ghostscript lib:libpng:libpng \
33                                        bin:dot:graphviz bin:ginstall:coreutils
34
35# setup to work smoothly with Qt3
36patchfiles                      patch-addon_doxywizard_Makefile.doxywizard
37post-patch {
38        reinplace "s|\$(QTDIR)/include|\$(QTDIR)/include/qt3|g" \
39                "${worksrcpath}/tmake/lib/macosx-c++/tmake.conf"
40        reinplace "s|@@PREFIX@@|${prefix}|g" \
41                ${worksrcpath}/addon/doxywizard/Makefile.doxywizard
42        reinplace "s|@@X11PREFIX@@|${x11prefix}|g" \
43                ${worksrcpath}/addon/doxywizard/Makefile.doxywizard
44}
45
46configure.pre_args      --prefix ${prefix}
47configure.args          --docdir ${prefix}/share/doc
48configure.env           QTDIR=${prefix}
49
50build.env                       QTDIR=${prefix}
51build.target            all pdf
52
53destroot.target         install_docs
54destroot.args           INSTALL=${destroot}/${prefix} \
55                                        DOCDIR=${destroot}/${prefix}/share/doc/doxygen
56
57variant wizard {
58        depends_lib-append      lib:libqt-mt:qt3
59        configure.args-append   --with-doxywizard
60}
61
62variant darwin {
63        if {[variant_isset wizard]} {
64                post-destroot {
65                        set dpappdir    ${destroot}/Applications/DarwinPorts
66                        xinstall -m 755 -d ${dpappdir}/doxywizard.app/Contents/MacOS
67                        file rename ${destroot}/${prefix}/bin/doxywizard \
68                                ${dpappdir}/doxywizard.app/Contents/MacOS/
69                        xinstall -m 644 ${filespath}/Info.plist \
70                                ${dpappdir}/doxywizard.app/Contents/
71                }
72        }
73}
74
Note: See TracBrowser for help on using the repository browser.