Ticket #50768: wxWidgets-common.diff
File wxWidgets-common.diff, 13.4 KB (added by mojca (Mojca Miklavec), 9 years ago) |
---|
-
graphics/wxWidgets-2.8/Portfile
9 9 10 10 name wxWidgets-2.8 11 11 version 2.8.12 12 revision 212 revision 3 13 13 set branch [join [lrange [split ${version} .] 0 1] .] 14 14 set wxpythonsubset wxPython-2.8.12.1-MacPorts-subset 15 15 … … 69 69 port:libiconv \ 70 70 port:expat 71 71 72 depends_run port:wxWidgets_select 72 depends_run port:wxWidgets-common\ 73 port:wxWidgets_select 73 74 75 set selectdir ${workpath}/select 74 76 select.group wxWidgets 75 select.file ${ filespath}/${subport}77 select.file ${selectdir}/${subport} 76 78 77 79 archcheck.files lib/libjpeg.dylib \ 78 80 lib/libtiff.dylib \ … … 92 94 post-patch { 93 95 reinplace "s|@@ARCHS@@|[get_canonical_archflags]|g" ${patch.dir}/configure 94 96 reinplace "s|@@PREFIX@@|${prefix}|g" ${patch.dir}/configure 97 98 file mkdir ${selectdir} 99 system "echo \"${wxWidgets.wxdir}/wx-config\n${wxWidgets.wxdir}/wxrc-${branch}\" > ${select.file}" 95 100 } 96 101 97 102 configure.cmd ../configure … … 164 169 # maybe not needed 165 170 set confscript ${wxWidgets.prefix}/lib/wx/config/${wxtype}-unicode-${installtype}-${branch} 166 171 ln -sf ${confscript} ${destroot}${wxWidgets.prefix}/bin/wx-config 167 168 xinstall -m 755 -d ${destroot}${prefix}/share/bakefile/presets169 172 } 170 173 171 destroot.keepdirs ${destroot}${prefix}/share/bakefile/presets172 173 174 variant aui description {add support for AUI docking library} { 174 175 configure.args-append --enable-aui 175 176 } -
graphics/wxWidgets-2.8/files/wxWidgets-2.8
1 ${frameworks_dir}/wxWidgets.framework/Versions/wxWidgets/2.8/bin/wx-config2 ${frameworks_dir}/wxWidgets.framework/Versions/wxWidgets/2.8/bin/wxrc-2.83 ${frameworks_dir}/wxWidgets.framework/Versions/wxWidgets/2.8/share/aclocal/wxwin.m44 ${frameworks_dir}/wxWidgets.framework/Versions/wxWidgets/2.8/share/bakefile/presets/wx.bkl5 -6 ${frameworks_dir}/wxWidgets.framework/Versions/wxWidgets/2.8/share/bakefile/presets/wx_unix.bkl7 ${frameworks_dir}/wxWidgets.framework/Versions/wxWidgets/2.8/share/bakefile/presets/wx_win32.bkl8 - -
graphics/wxWidgets-2.8/files/wxgtk-2.8
1 ${frameworks_dir}/wxWidgets.framework/Versions/wxGTK/2.8/bin/wx-config2 ${frameworks_dir}/wxWidgets.framework/Versions/wxGTK/2.8/bin/wxrc-2.83 ${frameworks_dir}/wxWidgets.framework/Versions/wxGTK/2.8/share/aclocal/wxwin.m44 ${frameworks_dir}/wxWidgets.framework/Versions/wxGTK/2.8/share/bakefile/presets/wx.bkl5 -6 ${frameworks_dir}/wxWidgets.framework/Versions/wxGTK/2.8/share/bakefile/presets/wx_unix.bkl7 ${frameworks_dir}/wxWidgets.framework/Versions/wxGTK/2.8/share/bakefile/presets/wx_win32.bkl8 - -
graphics/wxWidgets-3.0/Portfile
11 11 subport wxPython-3.0 {} 12 12 subport wxgtk-3.0 {} 13 13 version 3.0.2 14 revision 314 revision 4 15 15 set wxpython_ver 3.0.2.0 16 16 # when revbumping remember to change the revision also for wxPython-3.0 17 17 … … 26 26 } elseif {${subport} eq "wxPython-3.0"} { 27 27 wxWidgets.use wxPython-3.0 28 28 version 3.0.2 29 revision 429 revision 5 30 30 } elseif {${subport} eq "wxgtk-3.0"} { 31 31 # with satisfactory Cocoa support there is no real need for GTK-based wxWidgets any more 32 32 # wxgtk-3.0 is here mainly for testing purposes … … 79 79 } 80 80 } 81 81 82 depends_run port:wxWidgets_select 82 depends_run port:wxWidgets-common \ 83 port:wxWidgets_select 83 84 85 set selectdir ${workpath}/select 84 86 select.group wxWidgets 85 select.file ${ filespath}/${subport}87 select.file ${selectdir}/${subport} 86 88 87 89 worksrcdir ${distname}-${version}/build 88 90 … … 94 96 95 97 post-patch { 96 98 reinplace "s|@@PREFIX@@|${prefix}|g" ${patch.dir}/configure 99 100 file mkdir ${selectdir} 101 system "echo \"${wxWidgets.wxdir}/wx-config\n${wxWidgets.wxdir}/wxrc-${branch}\" > ${select.file}" 97 102 } 98 103 99 104 configure.cmd ../configure … … 201 206 post-destroot { 202 207 set confscript ${wxWidgets.prefix}/lib/wx/config/${wxtype}-unicode-${branch} 203 208 ln -sf ${confscript} ${destroot}${wxWidgets.prefix}/bin/wx-config 204 xinstall -m 755 -d ${destroot}${prefix}/share/bakefile/presets205 209 } 206 210 207 destroot.keepdirs ${destroot}${prefix}/share/bakefile/presets208 209 211 variant universal { 210 212 set archs [join ${configure.universal_archs} ,] 211 213 # --disable-precomp-headers is automatically selected with cocoa, but not with gtk … … 232 234 233 235 livecheck.type regex 234 236 livecheck.url ${homepage}/downloads/ 235 livecheck.regex Release.*( \[23\]\\.\[0-9\]\\.\[0-9\]+)237 livecheck.regex Release.*(3\\.0\\.\[0-9\]+) -
graphics/wxWidgets-3.0/files/wxPython-3.0
1 ${frameworks_dir}/wxWidgets.framework/Versions/wxPython/3.0/bin/wx-config2 ${frameworks_dir}/wxWidgets.framework/Versions/wxPython/3.0/bin/wxrc-3.03 ${frameworks_dir}/wxWidgets.framework/Versions/wxPython/3.0/share/aclocal/wxwin.m44 ${frameworks_dir}/wxWidgets.framework/Versions/wxPython/3.0/share/bakefile/presets/wx.bkl5 ${frameworks_dir}/wxWidgets.framework/Versions/wxPython/3.0/share/bakefile/presets/wx_presets.py6 ${frameworks_dir}/wxWidgets.framework/Versions/wxPython/3.0/share/bakefile/presets/wx_unix.bkl7 ${frameworks_dir}/wxWidgets.framework/Versions/wxPython/3.0/share/bakefile/presets/wx_win32.bkl8 ${frameworks_dir}/wxWidgets.framework/Versions/wxPython/3.0/share/bakefile/presets/wx_xrc.bkl -
graphics/wxWidgets-3.0/files/wxWidgets-3.0
1 ${frameworks_dir}/wxWidgets.framework/Versions/wxWidgets/3.0/bin/wx-config2 ${frameworks_dir}/wxWidgets.framework/Versions/wxWidgets/3.0/bin/wxrc-3.03 ${frameworks_dir}/wxWidgets.framework/Versions/wxWidgets/3.0/share/aclocal/wxwin.m44 ${frameworks_dir}/wxWidgets.framework/Versions/wxWidgets/3.0/share/bakefile/presets/wx.bkl5 ${frameworks_dir}/wxWidgets.framework/Versions/wxWidgets/3.0/share/bakefile/presets/wx_presets.py6 ${frameworks_dir}/wxWidgets.framework/Versions/wxWidgets/3.0/share/bakefile/presets/wx_unix.bkl7 ${frameworks_dir}/wxWidgets.framework/Versions/wxWidgets/3.0/share/bakefile/presets/wx_win32.bkl8 ${frameworks_dir}/wxWidgets.framework/Versions/wxWidgets/3.0/share/bakefile/presets/wx_xrc.bkl -
graphics/wxWidgets-3.0/files/wxWidgets-3.0-libcxx
1 ${frameworks_dir}/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/bin/wx-config2 ${frameworks_dir}/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/bin/wxrc-3.03 ${frameworks_dir}/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/share/aclocal/wxwin.m44 ${frameworks_dir}/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/share/bakefile/presets/wx.bkl5 ${frameworks_dir}/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/share/bakefile/presets/wx_presets.py6 ${frameworks_dir}/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/share/bakefile/presets/wx_unix.bkl7 ${frameworks_dir}/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/share/bakefile/presets/wx_win32.bkl8 ${frameworks_dir}/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/share/bakefile/presets/wx_xrc.bkl -
graphics/wxWidgets-3.0/files/wxgtk-3.0
1 ${frameworks_dir}/wxWidgets.framework/Versions/wxGTK/3.0/bin/wx-config2 ${frameworks_dir}/wxWidgets.framework/Versions/wxGTK/3.0/bin/wxrc-3.03 ${frameworks_dir}/wxWidgets.framework/Versions/wxGTK/3.0/share/aclocal/wxwin.m44 ${frameworks_dir}/wxWidgets.framework/Versions/wxGTK/3.0/share/bakefile/presets/wx.bkl5 ${frameworks_dir}/wxWidgets.framework/Versions/wxGTK/3.0/share/bakefile/presets/wx_presets.py6 ${frameworks_dir}/wxWidgets.framework/Versions/wxGTK/3.0/share/bakefile/presets/wx_unix.bkl7 ${frameworks_dir}/wxWidgets.framework/Versions/wxGTK/3.0/share/bakefile/presets/wx_win32.bkl8 ${frameworks_dir}/wxWidgets.framework/Versions/wxGTK/3.0/share/bakefile/presets/wx_xrc.bkl -
graphics/wxWidgets-common/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 2 # $Id$ 3 4 PortSystem 1.0 5 6 name wxWidgets-common 7 version 3.1.0 8 9 categories graphics devel 10 platforms darwin 11 license wxwidgets-3.1 12 maintainers mojca jwa openmaintainer 13 14 master_sites https://raw.githubusercontent.com/wxWidgets/wxWidgets/v${version}/:main \ 15 https://raw.githubusercontent.com/wxWidgets/wxWidgets/v${version}/build/bakefiles/wxpresets/presets/:bake 16 17 # potentially more files in the future 18 distfiles wxwin.m4:main \ 19 wx.bkl:bake \ 20 wx_presets.py:bake \ 21 wx_unix.bkl:bake \ 22 wx_win32.bkl:bake \ 23 wx_xrc.bkl:bake \ 24 25 extract.only 26 27 dist_subdir wxWidgets/${version} 28 29 checksums wxwin.m4 \ 30 rmd160 efd174cb60fed37da1581cf226b68c236e60aa78 \ 31 sha256 f4d9a0bcdee2065956c7c1a928ac2c285fc8302d1d9423188006b17c36b1d535 \ 32 wx.bkl \ 33 rmd160 9f4bcff4a36b0f53039cdbb41978a2e6a2863d91 \ 34 sha256 59fe0a38c46f885412ce76e0a2959acf947d468db7332af2299713051f8392ad \ 35 wx_presets.py \ 36 rmd160 a640c4c7fc6f7568d3af4ff37a3f1bb7bb771024 \ 37 sha256 b306047d3668ddaf5c178f5dcf66342983bd564a5fa43a23997a837f3103aadb \ 38 wx_unix.bkl \ 39 rmd160 db4e42372ec0a73f76285eef4af7fdc10aa51e58 \ 40 sha256 8fdda613c2cbe7c2f8a9c213fc24227151c535efee4c1d85ff0a6b77bd0dc059 \ 41 wx_win32.bkl \ 42 rmd160 54a0405b68166aa6e2bc9c8bea70dffb6cda8285 \ 43 sha256 7514af88ed6882ee791f279c840810d5a98cc73b0397e969726b3fb631243cd5 \ 44 wx_xrc.bkl \ 45 rmd160 059754a4f42fca46e392bdae4aa8611b5c895232 \ 46 sha256 6d801e0d5759fbf4a06f07ffcc7defcbf2e1a5b241b36ac68cf44646efb829e8 47 48 use_configure no 49 build {} 50 51 destroot { 52 xinstall -m 755 -d ${destroot}${prefix}/share/aclocal 53 xinstall -m 755 -d ${destroot}${prefix}/share/bakefile/presets 54 xinstall -m 644 ${distpath}/wxwin.m4 ${destroot}${prefix}/share/aclocal 55 foreach f {wx.bkl wx_presets.py wx_unix.bkl wx_win32.bkl wx_xrc.bkl} { 56 xinstall -m 644 ${distpath}/${f} ${destroot}${prefix}/share/bakefile/presets 57 } 58 } 59 60 # TODO: pre-activate step to clean up any remainings/leftovers -
sysutils/wxWidgets_select/Portfile
Property changes on: graphics/wxWidgets-common/Portfile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property
7 7 8 8 name wxWidgets_select 9 9 version 1.0 10 revision 1 10 11 categories sysutils graphics 11 12 platforms darwin 12 13 maintainers nomaintainer -
sysutils/wxWidgets_select/files/base
1 1 bin/wx-config 2 2 bin/wxrc 3 share/aclocal/wxwin.m44 share/bakefile/presets/wx.bkl5 share/bakefile/presets/wx_presets.py6 share/bakefile/presets/wx_unix.bkl7 share/bakefile/presets/wx_win32.bkl8 share/bakefile/presets/wx_xrc.bkl -
sysutils/wxWidgets_select/files/none
1 1 - 2 2 - 3 -4 -5 -6 -7 -8 -