Ticket #33738: Portfile.2.diff

File Portfile.2.diff, 1.5 KB (added by gallafent, 13 years ago)

Simpler Portfile diff that just always uses the qt4 approach

  • Portfile

    old new  
    44PortGroup           xcodeversion 1.0
    55
    66name                kdiff3
    7 version             0.9.92
     7version             0.9.96
    88categories          devel
    99platforms           darwin
    1010maintainers         nomaintainer
     
    1919homepage            http://kdiff3.sourceforge.net/
    2020master_sites        sourceforge
    2121
    22 checksums           md5 c7b52bfee6a085393de0c4f83732e8f0 \
    23                     sha1 c97b98150a1f5de16736a399affe1b4243d1e6c2 \
    24                     rmd160 3757fe678e944755164cdc62bfca9f0214acdbb8
    25 
    26 depends_lib         port:kdelibs3
    27 
    28 configure.env       HOME=${workpath}
    29 configure.args      --with-qt-dir=${prefix}/lib/qt3 \
    30                     --without-arts \
    31                     --with-extra-includes=${prefix}/include \
    32                     --with-extra-libs=${prefix}/lib
     22checksums           md5 46b96befddf3448a3cb673f018c6f6f9 \
     23                    sha1 d7efdacdfd7ea3c7ec9f7dee32aba5962c1709a5 \
     24                    rmd160 c0cfd2e7e30f58c9d6d058c2d8168ef97f1a33b7
    3325
    34 pre-configure {
    35   reinplace "s|doc/HTML|doc/kde|" ${worksrcpath}/configure
    36 }
     26depends_lib       port:qt4-mac
     27set worksrcpath   ${worksrcpath}/src-QT4
     28
     29patchfiles patch-src-QT4-kdiff3.pro.diff
    3730
    38 build.env           ${configure.env}
     31configure {
     32  exec qmake ${worksrcpath}/kdiff3.pro -o ${worksrcpath}/Makefile DESTDIR=${destroot}/${prefix}/bin
     33}
    3934
    4035minimum_xcodeversions {9 3.1}
    4136