# -*- 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 74670 2010-12-27 18:20:07Z ryandesign@macports.org $

PortSystem          1.0

name                ige-mac-bundler
version             0.6.0
categories          devel
platforms           darwin
maintainers         flyn.org:mike
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

homepage            http://sourceforge.net/projects/gtk-osx
master_sites        sourceforge:gtk-osx/GTK-OSX%20Bundle/

checksums           sha1    2b2abff119417821595de43ce6715443f9e618e6 \
                    rmd160  feae200e467f476637002760d13f0f6ff863ce47

use_configure       no

build {}

destroot {
    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/
    exec make -C ${worksrcpath} bindir=${destroot}${prefix}/bin install
}

livecheck.type      regex
livecheck.url       [lindex ${master_sites} 0]
livecheck.regex     ${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}
