Ticket #51449: portfile.diff
File portfile.diff, 2.6 KB (added by fredowski, 8 years ago) |
---|
-
Portfile
old new 4 4 PortSystem 1.0 5 5 PortGroup github 1.0 6 6 7 github.setup jralls gtk-mac-bundler 0.7.3 bundler- 8 revision 2 7 github.setup jralls gtk-mac-bundler 0.7.4 bundler- 9 8 categories devel 10 9 license GPL-2 11 10 platforms darwin … … 15 14 16 15 description Mac OS X application bundle utility 17 16 long_description A utility that aids in the creation of Mac OS X \ 18 application bundles 17 application bundles. The gtk3-demo example is \ 18 patched in macports to produce a the gtk3-demo \ 19 without jhbuild environment. To test the demo run \ 20 gtk-mac-bundler <prefix>/share/gtk-mac-bundler/examples/gtk3-demo.bundle \ 21 This will create the GtkDemo bundle in ~/Desktop 19 22 20 #------- --23 #------- 21 24 # CHECKSUM 22 25 #--------- 23 checksums rmd160 d7773e2394ea46c70510e7481a390db19fca937e\24 sha256 f35828c539879bab3d00d53f9c05bbad739756ba733afcfd61ee7e8e3b49d33926 checksums rmd160 aeff015024a918ffa4e190d14a65e711ab331014 \ 27 sha256 6b67916e48e4e75e677732333060581996ed8759fa9e506a4684db2752d63eb7 25 28 26 29 #--------- 27 30 # PATCHING 28 31 #--------- 29 # Note: patch-0.73_2014.02.24.diff brings 0.7.3 to commit dated 2014.02.24, remove on next release version30 patchfiles patch-0.7. 3_2014.02.24.diff \32 #Note: patch-0.7.4-to-24Feb2016.diff brings 0.7.4 to the commit dated 2016/02/24 - Remove after update 33 patchfiles patch-0.7.4-to-24Feb2016.diff \ 31 34 patch-bundler_py.diff \ 32 patch-launcher_sh.diff 35 patch-gtk3-demo-bundle.diff \ 36 patch-gtk3-launcher.diff 33 37 34 38 #--------------------------- 35 39 # CONFIGURATION AND BUILDING … … 44 48 pre-destroot { 45 49 reinplace "s|/usr/bin/env python|${prefix}/bin/python2.7|g" ${worksrcpath}/gtk-mac-bundler.in 46 50 reinplace "s|@PATH@|${frameworks_dir}/Python.framework/Version/2.7/lib/site-packages|g" ${worksrcpath}/gtk-mac-bundler.in 51 reinplace "s|\${env:JHBUILD_PREFIX}|${prefix}|g" ${worksrcpath}/examples/gtk3-demo.bundle 47 52 xinstall -m 755 -d ${destroot}${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7 48 53 copy ${worksrcpath}/bundler ${destroot}${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/ 54 file mkdir ${destroot}${prefix}/share/${name} 55 copy ${worksrcpath}/examples ${destroot}${prefix}/share/${name} 49 56 } 50 57 destroot.args bindir=${destroot}${prefix}/bin