Ticket #33738: Portfile.diff

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

Portfile diff including unfinished work to allow kde4 variant

  • 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
    33 
    34 pre-configure {
    35   reinplace "s|doc/HTML|doc/kde|" ${worksrcpath}/configure
     22checksums           md5 46b96befddf3448a3cb673f018c6f6f9 \
     23                    sha1 d7efdacdfd7ea3c7ec9f7dee32aba5962c1709a5 \
     24                    rmd160 c0cfd2e7e30f58c9d6d058c2d8168ef97f1a33b7
     25
     26variant qt4 {
     27  depends_lib       port:qt4-mac
     28  set worksrcpath   ${worksrcpath}/src-QT4
    3629}
    3730
    38 build.env           ${configure.env}
     31# ToDo: finish work on kde4 variant
     32#variant kde4 {
     33#  depends_lib       port:kdelibs4
     34#  depends_build     port:cmake
     35#}
     36
     37default_variants +qt4
     38
     39patchfiles patch-src-QT4-kdiff3.pro.diff
     40
     41configure {
     42  exec qmake ${worksrcpath}/kdiff3.pro -o ${worksrcpath}/Makefile DESTDIR=${destroot}/${prefix}/bin
     43}
    3944
    4045minimum_xcodeversions {9 3.1}
    4146