source: trunk/dports/devel/gtk-mac-bundler/Portfile

Last change on this file was 149919, checked in by khindenburg@…, 17 months ago

gtk-mac-bundler: set nomaintainer #51574

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 KB
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 149919 2016-07-05 21:13:38Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6
7github.setup        jralls gtk-mac-bundler 0.7.4 bundler-
8categories          devel
9license             GPL-2
10platforms           darwin
11maintainers         nomaintainer
12supported_archs     noarch
13
14description         Mac OS X application bundle utility
15long_description    A utility that aids in the creation of Mac OS X \
16                    application bundles. The gtk3-demo example is \
17                    patched in macports to produce a gtk3-demo \
18                    without jhbuild environment. To test the demo run \
19                    gtk-mac-bundler <prefix>/share/gtk-mac-bundler/examples/gtk3-demo.bundle \
20                    This will create the GtkDemo bundle in ~/Desktop
21
22#---------
23# CHECKSUM
24#---------
25checksums           rmd160  aeff015024a918ffa4e190d14a65e711ab331014 \
26                    sha256  6b67916e48e4e75e677732333060581996ed8759fa9e506a4684db2752d63eb7
27
28#---------
29# PATCHING
30#---------
31#Note: patch-0.7.4-to-24Feb2016.diff brings 0.7.4 to the commit dated 2016/02/24 - Remove after update
32patchfiles          patch-0.7.4-to-24Feb2016.diff \
33                    patch-bundler_py.diff \
34                    patch-gtk3-demo-bundle.diff \
35                    patch-gtk3-launcher.diff
36
37#---------------------------
38# CONFIGURATION AND BUILDING
39#---------------------------
40use_configure       no
41
42build {}
43
44#-----------
45# DEPLOYMENT
46#-----------
47pre-destroot {
48    reinplace "s|/usr/bin/env python|${prefix}/bin/python2.7|g" ${worksrcpath}/gtk-mac-bundler.in
49    reinplace "s|@PATH@|${frameworks_dir}/Python.framework/Version/2.7/lib/site-packages|g" ${worksrcpath}/gtk-mac-bundler.in
50    reinplace "s|\${env:JHBUILD_PREFIX}|${prefix}|g" ${worksrcpath}/examples/gtk3-demo.bundle
51    xinstall -m 755 -d ${destroot}${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7
52    copy ${worksrcpath}/bundler ${destroot}${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/
53    file mkdir ${destroot}${prefix}/share/${name}
54    copy ${worksrcpath}/examples ${destroot}${prefix}/share/${name}
55}
56destroot.args       bindir=${destroot}${prefix}/bin
Note: See TracBrowser for help on using the repository browser.