Ticket #14421: Portfile-nopdf.diff

File Portfile-nopdf.diff, 1.2 KB (added by cssdev, 16 years ago)

Make sure to reset the build.target and destroot.target to not include the docs

  • Portfile

     
    3131                        sha1 91a35d0ff0e5d19c8f0362999c305ed640c9ba92 \
    3232                        rmd160 13c4872d49c9d4b178934fe93d02f6ed5e358bee
    3333
    34 depends_lib             path:${prefix}/bin/pdflatex:texlive \
    35                         bin:gs:ghostscript lib:libpng:libpng \
    36                         bin:dot:graphviz bin:ginstall:coreutils port:libiconv
     34depends_lib             lib:libpng:libpng bin:dot:graphviz \
     35                        bin:ginstall:coreutils port:libiconv
    3736
    3837# setup to work smoothly with Qt3
    3938post-patch {
     
    5352configure.env           QTDIR=${prefix}
    5453
    5554build.env               QTDIR=${prefix}
    56 build.target            all pdf
     55build.target            all
    5756
    58 destroot.target         install install_docs
     57destroot.target         install
    5958destroot.args           INSTALL=${destroot}${prefix} \
    6059                        DOCDIR=${destroot}${prefix}/share/doc/doxygen \
    6160                        MAN1DIR=share/man/man1
    6261
    63 variant wizard {
     62variant docs description {Include the doxygen PDF documentation} {
     63        build.target-append     pdf
     64        destroot.target-append  inistall_docs
     65        depends-lib-append      path:${prefix}/bin/pdflatex:texlive \
     66                                bin:gs:ghostscript
     67}
     68
     69variant wizard description {Include the GUI wizard based on Qt} {
    6470        depends_lib-append      lib:libqt-mt:qt3
    6571        configure.args-append   --with-doxywizard
    6672}