# -*- 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 github 1.0 github.setup jralls gtk-mac-bundler 0.7.3 bundler- revision 2 categories devel license GPL-2 platforms darwin maintainers gmail.com:gellule.xg \ openmaintainer supported_archs noarch description Mac OS X application bundle utility long_description A utility that aids in the creation of Mac OS X \ application bundles #--------- # CHECKSUM #--------- checksums rmd160 d7773e2394ea46c70510e7481a390db19fca937e \ sha256 f35828c539879bab3d00d53f9c05bbad739756ba733afcfd61ee7e8e3b49d339 #--------- # PATCHING #--------- # Note: patch-0.73_2014.02.24.diff brings 0.7.3 to commit dated 2014.02.24, remove on next release version patchfiles patch-0.7.3_2014.02.24.diff \ patch-bundler_py.diff \ patch-launcher_sh.diff #--------------------------- # CONFIGURATION AND BUILDING #--------------------------- use_configure no build {} #----------- # DEPLOYMENT #----------- pre-destroot { reinplace "s|/usr/bin/env python|${prefix}/bin/python2.7|g" ${worksrcpath}/gtk-mac-bundler.in reinplace "s|@PATH@|${frameworks_dir}/Python.framework/Version/2.7/lib/site-packages|g" ${worksrcpath}/gtk-mac-bundler.in xinstall -m 755 -d ${destroot}${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7 copy ${worksrcpath}/bundler ${destroot}${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/ } destroot.args bindir=${destroot}${prefix}/bin