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

name                giggle
version             0.4
revision            1
license             GPL-2+
set branch          [join [lrange [split ${version} .] 0 1] .]
categories          devel
platforms           darwin
maintainers         nomaintainer

description         Git gtk frontend
long_description    Giggle is a graphical frontend for the git directory tracker \
                    (think of gitk on GTK+).

homepage            https://wiki.gnome.org/Apps/giggle
master_sites        gnome:sources/${name}/${branch}/

checksums           md5 695b381d42de8338626068dfa5341406

depends_build       port:pkgconfig \
                    port:intltool

depends_lib         port:desktop-file-utils \
                    port:gtksourceview2 \
                    port:git \
                    port:libglade2

post-activate {
    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
    system "${prefix}/bin/gtk-update-icon-cache-2.0 -f -t ${prefix}/share/icons/hicolor"
}

livecheck.type      gnome
