# -*- 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 # $Id$ PortSystem 1.0 PortGroup xcodeversion 1.0 PortGroup qt4 1.0 name kdiff3 version 0.9.97 categories devel platforms darwin maintainers nomaintainer license GPL-2 description kdiff3 is a file comparing and merging tool. long_description kdiff3 compares two or three input files and shows the \ differences line by line and character by character. It \ provides an automatic merge facility and an integrated \ editor for comfortable solving of merge conflicts. \ kdiff3 allows recursive directory comparison and merging \ as well. homepage http://kdiff3.sourceforge.net/ master_sites sourceforge:project/kdiff3/kdiff3/${version} checksums rmd160 cbbac8e0ad39fa3a2403199ceaac6239de94b83e \ sha256 e3b716bb449c814d8c30817ec1ca23fba0ed9eee5a635e766c1f2b90ddb75a2a set worksrcpath ${worksrcpath}/src-QT4 minimum_xcodeversions {9 3.1} patchfiles patch-src-QT4-kdiff3.pro.diff post-patch { reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/kdiff3.pro } # --disable-dependency-tracking is not recognized. configure.universal_args-delete --disable-dependency-tracking pre-configure { configure.args-append CONFIG+=\"${qt_arch_types}\" } configure.cmd ${qt_qmake_cmd} configure.pre_args configure.post_args variant debug description \ {Build both release and debug library} {} if {[variant_isset debug]} { configure.args-append CONFIG+=\"debug_and_release build_all\" } else { configure.args-append CONFIG+=\"release\" } livecheck.type regex livecheck.regex "Current version: (\\d+(?:\\.\\d+)*)"