Ticket #47661: gwenhywfar4.diff

File gwenhywfar4.diff, 2.7 KB (added by RJVB (René Bertin), 10 years ago)
  • devel/gwenhywfar4/Portfile

    old new  
    11# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
     2# kate: backspace-indents true; indent-pasted-text true; indent-width 4; keep-extra-spaces true; remove-trailing-spaces modified; replace-tabs true; replace-tabs-save true; syntax Tcl/Tk; tab-indents true; tab-width 4;
    23# $Id: Portfile 133441 2015-03-01 23:33:29Z dports@macports.org $
    34
    45PortSystem        1.0
    56
    67name              gwenhywfar4
     8revision          1
    79# This port offers the latest stable version (also as a gtk subport)
    810# as well as the latest beta version as gwenhywfar4-devel!
    911
     
    4850subport gwenhywfar4-devel {}
    4951subport gwenhywfar4-gtk-devel {}
    5052
     53patchfiles      patch-shlib-extensions.diff
     54
    5155if {[string match "*-devel" $subport]} {
    5256    version                 4.13.1
    5357    # this is specific to this port and *version* for downloading it
     
    5963}
    6064
    6165if {$subport eq $name || $subport eq "gwenhywfar4-devel"} {
    62     configure.args-append   --with-qt4-libs=${prefix}/lib \
    63                             --with-qt4-includes=${prefix}/include \
    64                             --with-qt4-moc=${prefix}/bin/moc \
    65                             --with-qt4-uic=${prefix}/bin/uic \
    66                             --with-guis=qt4
    67     depends_lib-append      path:bin/qmake:qt4-mac
     66    # the correct way to depend on Qt4:
     67    PortGroup               qt4 1.0
     68    configure.args-append   --with-qt4-libs=${qt_libs_dir} \
     69                            --with-qt4-includes=${qt_includes_dir} \
     70                            --with-qt4-moc=${qt_moc_cmd} \
     71                            --with-qt4-uic=${qt_uic_cmd} \
     72                            --with-guis="qt4 cpp cocoa"
    6873}
    6974
    7075master_sites      http://www2.aquamaniac.de/sites/download/download.php?package=01&release=${release}&file=01&dummy=
     
    7277
    7378if {[string match "gwenhywfar4-gtk*" $subport]} {
    7479    depends_lib-append      port:gtk2
    75     configure.args-append   --with-guis=gtk2 --disable-qt4
     80    configure.args-append   --with-guis="gtk2 cpp" --disable-qt4
    7681
    7782    # Allow gwenhywfar4-gtk and aqbanking5-gtk to replace the old
    7883    # gwenhywfar and aqbanking by deactivating them if installed. This
     
    103108    configure.args-append --enable-debug
    104109}
    105110
     111configure.args-append   --disable-dependency-tracking --disable-silent-rules
     112
    106113livecheck.type    regex
    107114livecheck.url     http://www2.aquamaniac.de/sites/download/packages.php?package=01&showall=1
    108115if {[string match "*-devel" $subport]} {