# -*- 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: Portfile 117512 2014-03-07 12:07:34Z cal@macports.org $ PortSystem 1.0 PortGroup github 1.0 github.setup jralls gtk-mac-bundler bundler-0.7.3 name gtk-mac-bundler version 0.7.3 revision 1 categories devel license GPL-2 platforms darwin maintainers openmaintainer \ gmail.com:gellule.xg 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@|${prefix}/Library/Framework/Python.framework/Version/2.7/lib/site-packages|g" ${worksrcpath}/gtk-mac-bundler.in xinstall -m 755 -d ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 copy ${worksrcpath}/bundler ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ } destroot.args bindir=${destroot}${prefix}/bin