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

Last change on this file since 4325 was 4325, checked in by fkr, 16 years ago

Bug: #515
Submitted by: blb@
Port: doxygen
Version: 1.3.5

new port, doxygen, a Documentation system for several programming languages

  • Property svn:eol-style set to native
File size: 2.0 KB
Line 
1# $Id: Portfile,v 1.1 2003/12/28 01:46:02 fkr Exp $
2
3PortSystem      1.0
4name            doxygen
5version         1.3.5
6categories      textproc devel
7maintainers     blb@pobox.com
8description     Documentation system for several programming languages
9
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
24homepage        http://www.doxygen.org/
25master_sites    ftp://ftp.stack.nl/pub/users/dimitri/
26
27platforms       darwin
28distfiles       ${distname}.src${extract.suffix}
29checksums       md5 58f5ed6de54725ba52c2bb6a18d5a147
30
31depends_lib     bin:tex:teTeX bin:gs:ghostscript lib:libpng:libpng \
32                lib:libqt-mt:qt3 bin:dot:graphviz bin:ginstall:coreutils
33
34# setup to work smoothly with Qt3
35patchfiles      patch-Makefile.doxywizard
36post-patch {    reinplace "s|\$(QTDIR)/include|${prefix}/include/qt3|g" \
37                        "${workpath}/${worksrcdir}/tmake/lib/macosx-c++/tmake.conf"
38                reinplace "s|\$(QTDIR)/lib|${prefix}/lib|g" \
39                        "${workpath}/${worksrcdir}/tmake/lib/macosx-c++/tmake.conf"
40                reinplace "s|= -lqt|= -lqt-mt|g" \
41                        "${workpath}/${worksrcdir}/tmake/lib/macosx-c++/tmake.conf"
42}
43
44configure.pre_args      --prefix ${prefix}
45configure.args  --docdir ${prefix}/share/doc \
46                --with-doxywizard
47configure.env   QTDIR=${prefix}
48build.target    all docs
49destroot.target install_docs
50destroot.args   INSTALL=${destroot}/${prefix} \
51                DOCDIR=${destroot}/${prefix}/share/doc/doxygen
Note: See TracBrowser for help on using the repository browser.