Ticket #33738: Portfile.diff
File Portfile.diff, 1.6 KB (added by gallafent, 13 years ago) |
---|
-
Portfile
old new 4 4 PortGroup xcodeversion 1.0 5 5 6 6 name kdiff3 7 version 0.9.9 27 version 0.9.96 8 8 categories devel 9 9 platforms darwin 10 10 maintainers nomaintainer … … 19 19 homepage http://kdiff3.sourceforge.net/ 20 20 master_sites sourceforge 21 21 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 22 checksums md5 46b96befddf3448a3cb673f018c6f6f9 \ 23 sha1 d7efdacdfd7ea3c7ec9f7dee32aba5962c1709a5 \ 24 rmd160 c0cfd2e7e30f58c9d6d058c2d8168ef97f1a33b7 25 26 variant qt4 { 27 depends_lib port:qt4-mac 28 set worksrcpath ${worksrcpath}/src-QT4 36 29 } 37 30 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 37 default_variants +qt4 38 39 patchfiles patch-src-QT4-kdiff3.pro.diff 40 41 configure { 42 exec qmake ${worksrcpath}/kdiff3.pro -o ${worksrcpath}/Makefile DESTDIR=${destroot}/${prefix}/bin 43 } 39 44 40 45 minimum_xcodeversions {9 3.1} 41 46