# -*- 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 57375 2009-09-10 08:16:41Z ryandesign@macports.org $

PortSystem 1.0

name		gtk-nodoka-engine
version		0.7.2
description	Nodoka GTK2 Theme Engine
long_description \
    A theme that is nice, not attracting too much attention to itself, \
    rather calms than enrages, and that is focused on usability as well

maintainers	nomaintainer
categories	x11 gnome
platforms	darwin
homepage	http://fedoraproject.org/wiki/Artwork/NodokaTheme

master_sites    https://fedorahosted.org/releases/n/o/nodoka/

checksums       md5     0d9531719fe4e66e3c3b0311eb298126 \
                sha1    7bc8c778cfb76717a2881b7524daa4a7acf3a16b \
                rmd160  d22899ed36a795e1aa0482a68205063df1695614

depends_lib     lib:libgtk.2:gtk2
depends_build   bin:ginstall:coreutils

post-patch {
    reinplace "s|/usr/bin/install|${prefix}/bin/ginstall|g" \
        ${worksrcpath}/src/Makefile.in
}

configure.args  --enable-animation

post-destroot {
    xinstall -m 644 ${worksrcpath}/README \
        ${destroot}${prefix}/share/themes/Nodoka
}

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