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: Portfile 117512 2014-03-07 12:07:34Z cal@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup github 1.0 |
---|
6 | |
---|
7 | github.setup jralls gtk-mac-bundler bundler-0.7.3 |
---|
8 | |
---|
9 | name gtk-mac-bundler |
---|
10 | version 0.7.3 |
---|
11 | revision 1 |
---|
12 | categories devel |
---|
13 | license GPL-2 |
---|
14 | platforms darwin |
---|
15 | maintainers openmaintainer \ |
---|
16 | gmail.com:gellule.xg |
---|
17 | supported_archs noarch |
---|
18 | |
---|
19 | description Mac OS X application bundle utility |
---|
20 | |
---|
21 | long_description A utility that aids in the creation of Mac OS X \ |
---|
22 | application bundles |
---|
23 | |
---|
24 | #--------- |
---|
25 | # CHECKSUM |
---|
26 | #--------- |
---|
27 | checksums rmd160 d7773e2394ea46c70510e7481a390db19fca937e \ |
---|
28 | sha256 f35828c539879bab3d00d53f9c05bbad739756ba733afcfd61ee7e8e3b49d339 |
---|
29 | |
---|
30 | #--------- |
---|
31 | # PATCHING |
---|
32 | #--------- |
---|
33 | # Note: patch-0.73_2014.02.24.diff brings 0.7.3 to commit dated 2014.02.24, remove on next release version |
---|
34 | patchfiles patch-0.7.3_2014.02.24.diff \ |
---|
35 | patch-bundler_py.diff \ |
---|
36 | patch-launcher_sh.diff |
---|
37 | |
---|
38 | #--------------------------- |
---|
39 | # CONFIGURATION AND BUILDING |
---|
40 | #--------------------------- |
---|
41 | use_configure no |
---|
42 | |
---|
43 | build {} |
---|
44 | |
---|
45 | #----------- |
---|
46 | # DEPLOYMENT |
---|
47 | #----------- |
---|
48 | pre-destroot { |
---|
49 | reinplace "s|/usr/bin/env python|${prefix}/bin/python2.7|g" ${worksrcpath}/gtk-mac-bundler.in |
---|
50 | reinplace "s|@PATH@|${prefix}/Library/Framework/Python.framework/Version/2.7/lib/site-packages|g" ${worksrcpath}/gtk-mac-bundler.in |
---|
51 | xinstall -m 755 -d ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 |
---|
52 | copy ${worksrcpath}/bundler ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ |
---|
53 | } |
---|
54 | destroot.args bindir=${destroot}${prefix}/bin |
---|