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 74670 2010-12-27 18:20:07Z ryandesign@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name ige-mac-bundler |
---|
7 | version 0.6.0 |
---|
8 | revision 1 |
---|
9 | categories devel |
---|
10 | platforms darwin |
---|
11 | maintainers flyn.org:mike |
---|
12 | supported_archs noarch |
---|
13 | |
---|
14 | description Mac OS X application bundle utility |
---|
15 | |
---|
16 | long_description A utility that aids in the creation of Mac OS X \ |
---|
17 | application bundles |
---|
18 | |
---|
19 | homepage http://sourceforge.net/projects/gtk-osx |
---|
20 | master_sites sourceforge:gtk-osx/GTK-OSX%20Bundle/ |
---|
21 | |
---|
22 | checksums sha1 2b2abff119417821595de43ce6715443f9e618e6 \ |
---|
23 | rmd160 feae200e467f476637002760d13f0f6ff863ce47 |
---|
24 | |
---|
25 | patchfiles patch-bundler-bundler.py.diff \ |
---|
26 | patch-bundler-launcher.sh.diff |
---|
27 | |
---|
28 | use_configure no |
---|
29 | |
---|
30 | build {} |
---|
31 | |
---|
32 | destroot { |
---|
33 | reinplace "s|python|python2.7|g" ${worksrcpath}/ige-mac-bundler.in |
---|
34 | reinplace "s|@PATH@|${prefix}/Library/Framework/Python.framework/Version/2.7/lib/site-packages|g" ${worksrcpath}/ige-mac-bundler.in |
---|
35 | xinstall -m 755 -d ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 |
---|
36 | copy ${worksrcpath}/bundler ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ |
---|
37 | exec make -C ${worksrcpath} bindir=${destroot}${prefix}/bin install |
---|
38 | } |
---|
39 | |
---|
40 | livecheck.type regex |
---|
41 | livecheck.url [lindex ${master_sites} 0] |
---|
42 | livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)${extract.suffix} |
---|