Ticket #27794: Portfile.2

File Portfile.2, 1.6 KB (added by gellule.xg@…, 13 years ago)

Newer Portfile, with some needed patches.

Line 
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
4PortSystem          1.0
5
6name                ige-mac-bundler
7version             0.6.0
8revision            1
9categories          devel
10platforms           darwin
11maintainers         flyn.org:mike
12supported_archs     noarch
13
14description         Mac OS X application bundle utility
15
16long_description    A utility that aids in the creation of Mac OS X \
17                    application bundles
18
19homepage            http://sourceforge.net/projects/gtk-osx
20master_sites        sourceforge:gtk-osx/GTK-OSX%20Bundle/
21
22checksums           sha1    2b2abff119417821595de43ce6715443f9e618e6 \
23                    rmd160  feae200e467f476637002760d13f0f6ff863ce47
24
25patchfiles          patch-bundler-bundler.py.diff \
26                    patch-bundler-launcher.sh.diff
27
28use_configure       no
29
30build {}
31
32destroot {
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
40livecheck.type      regex
41livecheck.url       [lindex ${master_sites} 0]
42livecheck.regex     ${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}