32 | | patchfiles patch-src-QT4-kdiff3.pro.diff |
33 | | |
34 | | post-patch { |
35 | | reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/kdiff3.pro |
36 | | } |
37 | | |
38 | | # --disable-dependency-tracking is not recognized. |
39 | | configure.universal_args-delete --disable-dependency-tracking |
40 | | |
41 | | pre-configure { |
42 | | configure.args-append CONFIG+=\"${qt_arch_types}\" |
43 | | } |
44 | | |
45 | | configure.cmd ${qt_qmake_cmd} |
46 | | configure.pre_args |
47 | | configure.post_args |
48 | | |
49 | | variant debug description \ |
50 | | {Build both release and debug library} {} |
51 | | |
52 | | if {[variant_isset debug]} { |
53 | | configure.args-append CONFIG+=\"debug_and_release build_all\" |
| 31 | if {[variant_isset kde]} { |
| 32 | PortGroup kde4 1.1 |
| 33 | depends_lib-append port:kdelibs4 |
| 34 | post-destroot { |
| 35 | ln -s /Applications/MacPorts/KDE4/kdiff3.app/Contents/MacOS/kdiff3 ${destroot}/opt/local/bin |
| 36 | } |
55 | | configure.args-append CONFIG+=\"release\" |
| 38 | set worksrcpath ${worksrcpath}/src-QT4 |
| 39 | minimum_xcodeversions {9 3.1} |
| 40 | patchfiles patch-src-QT4-kdiff3.pro.diff |
| 41 | post-patch { |
| 42 | reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/kdiff3.pro |
| 43 | } |
| 44 | |
| 45 | # --disable-dependency-tracking is not recognized. |
| 46 | configure.universal_args-delete --disable-dependency-tracking |
| 47 | |
| 48 | pre-configure { |
| 49 | configure.args-append CONFIG+=\"${qt_arch_types}\" |
| 50 | } |
| 51 | |
| 52 | configure.cmd ${qt_qmake_cmd} |
| 53 | configure.pre_args |
| 54 | configure.post_args |
| 55 | |
| 56 | variant debug description \ |
| 57 | {Build both release and debug library} {} |
| 58 | |
| 59 | if {[variant_isset debug]} { |
| 60 | configure.args-append CONFIG+=\"debug_and_release build_all\" |
| 61 | } else { |
| 62 | configure.args-append CONFIG+=\"release\" |
| 63 | } |