Changeset 5447 for trunk/dports/textproc


Ignore:
Timestamp:
Feb 13, 2004, 6:07:36 AM (16 years ago)
Author:
blb
Message:

Port: doxygen
Version: 1.3.6

Update port textproc/doxygen
New version 1.3.6, wrap doxywizard in a .app bundle for darwin, a few
pathing fixes, and some formatting cleanup

Location:
trunk/dports/textproc/doxygen
Files:
2 added
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/textproc/doxygen/Portfile

    r4325 r5447  
    1 # $Id: Portfile,v 1.1 2003/12/28 01:46:02 fkr Exp $
     1# $Id: Portfile,v 1.2 2004/02/13 06:07:36 blb Exp $
    22
    3 PortSystem      1.0
    4 name            doxygen
    5 version         1.3.5
    6 categories      textproc devel
    7 maintainers     blb@pobox.com
    8 description     Documentation system for several programming languages
     3PortSystem                      1.0
     4name                            doxygen
     5version                         1.3.6
     6categories                      textproc devel
     7maintainers                     blb@pobox.com
     8description                     Documentation system for several programming languages
    99
    1010long_description \
     
    2222        all generated automatically.
    2323
    24 homepage        http://www.doxygen.org/
    25 master_sites    ftp://ftp.stack.nl/pub/users/dimitri/
     24homepage                        http://www.doxygen.org/
     25master_sites            ftp://ftp.stack.nl/pub/users/dimitri/
    2626
    27 platforms       darwin
    28 distfiles       ${distname}.src${extract.suffix}
    29 checksums       md5 58f5ed6de54725ba52c2bb6a18d5a147
     27platforms                       darwin
     28distfiles                       ${distname}.src${extract.suffix}
     29checksums                       md5 74d3cfb6463bfd4ed1d051153375156d
    3030
    31 depends_lib     bin:tex:teTeX bin:gs:ghostscript lib:libpng:libpng \
    32                 lib:libqt-mt:qt3 bin:dot:graphviz bin:ginstall:coreutils
     31depends_lib                     bin:tex:teTeX bin:gs:ghostscript lib:libpng:libpng \
     32                                        lib:libqt-mt:qt3 bin:dot:graphviz bin:ginstall:coreutils
    3333
    3434# setup to work smoothly with Qt3
    35 patchfiles      patch-Makefile.doxywizard
    36 post-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"
     35patchfiles                      patch-addon_doxywizard_Makefile.doxywizard
     36post-patch {
     37        reinplace "s|\$(QTDIR)/include|\$(QTDIR)/include/qt3|g" \
     38                "${worksrcpath}/tmake/lib/macosx-c++/tmake.conf"
     39        reinplace "s|= -lqt|= -lqt-mt|g" \
     40                "${worksrcpath}/tmake/lib/macosx-c++/tmake.conf"
     41        reinplace "s|@PREFIX@|${prefix}|g" \
     42                ${worksrcpath}/addon/doxywizard/Makefile.doxywizard
     43        reinplace "s|@X11PREFIX@|${x11prefix}|g" \
     44                ${worksrcpath}/addon/doxywizard/Makefile.doxywizard
    4245}
    4346
    4447configure.pre_args      --prefix ${prefix}
    45 configure.args  --docdir ${prefix}/share/doc \
    46                 --with-doxywizard
    47 configure.env   QTDIR=${prefix}
    48 build.target    all docs
    49 destroot.target install_docs
    50 destroot.args   INSTALL=${destroot}/${prefix} \
    51                 DOCDIR=${destroot}/${prefix}/share/doc/doxygen
     48configure.args          --docdir ${prefix}/share/doc --with-doxywizard
     49configure.env           QTDIR=${prefix}
     50
     51build.env                       QTDIR=${prefix}
     52build.target            all docs
     53
     54destroot.target         install_docs
     55destroot.args           INSTALL=${destroot}/${prefix} \
     56                                        DOCDIR=${destroot}/${prefix}/share/doc/doxygen
     57
     58variant darwin {
     59        post-destroot {
     60                file mkdir \
     61                        ${destroot}/Applications/DarwinPorts/doxywizard.app/Contents/MacOS
     62                file rename ${destroot}/${prefix}/bin/doxywizard \
     63                        ${destroot}/Applications/DarwinPorts/doxywizard.app/Contents/MacOS/
     64                file copy ${filespath}/Info.plist \
     65                        ${destroot}/Applications/DarwinPorts/doxywizard.app/Contents/
     66        }
     67}
     68
Note: See TracChangeset for help on using the changeset viewer.