# -*- 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

PortSystem      1.0
PortGroup       python 1.0

name            gazpacho
version         0.7.2
revision        2
set branch      [join [lrange [split ${version} .] 0 1] .]
license         LGPL
categories      devel python gnome
maintainers     nomaintainer
description     A GUI builder for the GTK+ toolkit.
long_description \
                Gazpacho is a fresh new GUI builder for the GTK+ toolkit designed to \
                be ultra easy to use.
homepage        http://gazpacho.sicem.biz
platforms       darwin
supported_archs noarch

master_sites    gnome:sources/gazpacho/${branch}/

checksums       md5 42d180f2570f2f5d6c0fa69ed9897d9b \
                sha1 3f664b23982273e698509c94a704c468a93fd31e \
                rmd160 9e7614be94763bc9570032902019d26663331740

python.default_version  27

depends_lib-append  \
                port:gettext \
                port:py${python.version}-gobject \
                port:py${python.version}-numeric \
                port:py${python.version}-kiwi

post-extract    {
    reinplace "s|/usr/|${prefix}/|g" ${worksrcpath}/gazpacho.desktop
}

livecheck.type  gnome-with-unstable