Ticket #40004: poedit-1.5.7-and-wxwidgets30.patch
File poedit-1.5.7-and-wxwidgets30.patch, 2.9 KB (added by mojca (Mojca Miklavec), 11 years ago) |
---|
-
Portfile
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: Portfile 108796 2013-08-02 01:47:49Z mojca@macports.org $ 2 3 3 4 PortSystem 1.0 4 5 5 6 name poedit 6 version 1.5.5 7 revision 1 7 version 1.5.7 8 8 categories devel aqua 9 9 platforms darwin 10 10 license MIT … … long_description \ 20 20 homepage http://www.poedit.net/ 21 21 master_sites sourceforge:poedit 22 22 23 checksums md5 da86cb73cee9d006a42f9574811d13ab\24 sha1 822a72afab0c936c00291e21c8f23ff4cf8a3009\25 rmd160 cfc402f9eb0f000f068d98364870ac3860c20f57 \26 sha256 3c94c9825c11a2d1ce10e083ad246e8625469f358da4a5a2f6210170b970f94923 checksums md5 f5b53ec66a606f088b0aa388595ea5f9 \ 24 sha1 e83c08ca33997829be946e1dcf1a35149856d184 \ 25 rmd160 46436e98caf2b41b61188fc1b79db62f2f218817 \ 26 sha256 24535cac22c8f7fb4f995710f6638ebc26825056076a04210ee66e19d65c0f78 27 27 28 28 depends_build bin:grep:grep \ 29 29 port:pkgconfig \ … … depends_lib port:wxWidgets \ 33 33 34 34 depends_skip_archcheck grep pkgconfig boost 35 35 36 variant wxwidgets_devel description {Uses wxWidgets-devel (allows 64-bit build)} { 37 depends_lib-delete port:wxWidgets 38 depends_lib-append port:wxWidgets-devel 36 variant wxwidgets_devel conflicts wxwidgets30 description {Uses wxWidgets-devel (allows 64-bit build)} { 37 depends_lib-replace port:wxWidgets port:wxWidgets-devel 38 } 39 variant wxwidgets30 conflicts wxwidgets-devel description {Uses wxWidgets30 (allows 64-bit build)} { 40 depends_lib-replace port:wxWidgets port:wxWidgets30 39 41 } 40 42 41 platform darwin 11 { 42 # According to comments in wxWidgets Portfile 43 if {[vercmp $xcodeversion 4.4] >= 0} { 44 default_variants +wxwidgets_devel 45 } 43 if {[catch {registry_active wxwidgets-devel}] == 0} { 44 default_variants +wxwidgets_devel 46 45 } 47 46 48 platform darwin 12{49 de pends_lib-replace port:wxWidgets port:wxWidgets3047 if {[catch {registry_active wxwidgets30}] == 0} { 48 default_variants +wxwidgets30 50 49 } 51 50 52 if {![variant_isset wxwidgets_devel]} { 53 # wxWidgets 2.8 is not universal and is 32-bit only 54 universal_variant no 55 supported_archs i386 ppc 51 if {![variant_isset wxwidgets_devel] && ![variant_isset wxWidgets30]} { 52 # wxWidgets cannot be compiled on OS X 10.8 or later, or on 10.7 with Xcode >= 4.4 53 if {${os.major} >= 12 || [vercmp $xcodeversion 4.4] >= 0} { 54 default_variants +wxwidgets30 55 } else { 56 # wxWidgets 2.8 is not universal and is 32-bit only 57 universal_variant no 58 supported_archs i386 ppc 59 } 56 60 } 57 61 58 62 # remove some additional features, especially sparkle because macports handles updates