Changeset 98183
- Timestamp:
- Sep 27, 2012, 7:48:17 PM (12 years ago)
- Location:
- trunk/dports/devel/kdiff3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/devel/kdiff3/Portfile
r98177 r98183 1 # -*- 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 1 2 # $Id$ 2 3 3 4 PortSystem 1.0 4 5 PortGroup xcodeversion 1.0 6 PortGroup qt4 1.0 5 7 6 8 name kdiff3 … … 21 23 master_sites sourceforge:project/kdiff3/kdiff3/${version} 22 24 23 checksums rmd160 24 sha256 25 checksums rmd160 cbbac8e0ad39fa3a2403199ceaac6239de94b83e \ 26 sha256 e3b716bb449c814d8c30817ec1ca23fba0ed9eee5a635e766c1f2b90ddb75a2a 25 27 26 depends_lib port:qt4-mac 27 set worksrcpath ${worksrcpath}/src-QT4 28 set worksrcpath ${worksrcpath}/src-QT4 29 30 minimum_xcodeversions {9 3.1} 28 31 29 32 patchfiles patch-src-QT4-kdiff3.pro.diff 30 33 31 configure{32 exec qmake ${worksrcpath}/kdiff3.pro -o ${worksrcpath}/Makefile DESTDIR=${destroot}/${prefix}/bin34 post-patch { 35 reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/kdiff3.pro 33 36 } 34 37 35 minimum_xcodeversions {9 3.1} 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\" 54 } else { 55 configure.args-append CONFIG+=\"release\" 56 } 36 57 37 58 livecheck.type regex -
trunk/dports/devel/kdiff3/files/patch-src-QT4-kdiff3.pro.diff
r98177 r98183 1 --- kdiff3.pro.orig 2012-07-14 05:27:14.000000000 -0500 2 +++ kdiff3.pro 2012-09-27 11:43:59.000000000 -0500 3 @@ -64,11 +64,13 @@ 1 --- kdiff3.pro.orig 2012-09-27 14:41:55.000000000 -0400 2 +++ kdiff3.pro 2012-09-27 14:42:25.000000000 -0400 3 @@ -1,7 +1,7 @@ 4 TEMPLATE = app 5 # When unresolved items remain during linking: Try adding "shared" in the CONFIG. 6 -CONFIG += qt warn_on thread precompile_header 7 -!os2:PRECOMPILED_HEADER = stable.h 8 +CONFIG += qt warn_on thread 9 + 10 HEADERS = version.h \ 11 diff.h \ 12 difftextwindow.h \ 13 @@ -64,11 +64,15 @@ 4 14 } 5 15 6 16 unix { 7 17 - documentation.path = /usr/local/share/doc/kdiff3 8 + documentation.path = $$DESTDIR/../share/doc/kdiff318 + documentation.path = @PREFIX@/share/doc/kdiff3 9 19 documentation.files = ../doc/* 10 20 … … 12 22 13 23 - target.path = /usr/local/bin 14 - INSTALLS += target 15 +} 24 + target.path = @PREFIX@/bin 25 INSTALLS += target 26 } 16 27 + 17 28 +mac { 18 29 + CONFIG -= app_bundle 19 30 +}
Note: See TracChangeset
for help on using the changeset viewer.