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

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

Port: doxygen
Version: 1.3.9.1
Revision: 1

Update port textproc/doxygen
Fix Qt linking issue for wizard variant

  • Property svn:eol-style set to native
File size: 2.5 KB
Line 
1# $Id: Portfile,v 1.9 2004/11/18 03:48:38 blb Exp $
2
3PortSystem                      1.0
4name                            doxygen
5version                         1.3.9.1
6revision                        1
7categories                      textproc devel
8maintainers                     blb@pobox.com
9description                     Documentation system for several programming languages
10long_description \
11        It can generate an on-line documentation browser (in HTML) and/or an \
12        off-line reference manual from a set of documented source files. \
13        There is also support for generating output in RTF (MS-Word), \
14        PostScript, hyperlinked PDF, compressed HTML, and Unix man pages. The \
15        documentation is extracted directly from the sources, which makes it \
16        much easier to keep the documentation consistent with the source code. \
17        You can configure doxygen to extract the code structure from \
18        undocumented source files. This is very useful to quickly find your \
19        way in large source distributions. You can also visualize the \
20        relations between the various elements by means of include dependency \
21        graphs, inheritance diagrams, and collaboration diagrams, which are \
22        all generated automatically.
23
24platforms                       darwin
25
26homepage                        http://www.doxygen.org/
27master_sites            ftp://ftp.stack.nl/pub/users/dimitri/
28distfiles                       ${distname}.src${extract.suffix}
29
30checksums                       md5 3b8bf59a606c3ad2f5615d8ba22c12fd
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.