# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 82553 2011-08-15 19:22:39Z jmr@macports.org $

PortSystem      1.0

name            gtk2-murrine
set my_name     murrine
version         0.90.3
revision        2
set branch      [join [lrange [split ${version} .] 0 1] .]
categories      gnome x11 gtk
platforms       macosx
maintainers     nomaintainer
description     Murrine is a GTK2 engine

long_description \
    GTK2 engine to make your desktop look like a \"murrina\", an italian \
    word meaning the art glass works done by Venicians glass blowers.

homepage        http://www.cimitan.com/murrine/
master_sites    gnome:sources/${my_name}/${branch}/
distname        ${my_name}-${version}
use_bzip2       yes

checksums       md5     58a10b5c7b5e114a8a7ff5705fe274f5 \
                sha1    5c65acf7948d23bb1693728157425120486303a8 \
                rmd160  347909724a11cfe53f922208f46e39f47b420459

depends_build \
    port:intltool \
    port:pkgconfig

depends_lib \
    port:gtk2 \
    port:gettext

configure.args  --enable-animation

post-destroot {
    set docdir ${prefix}/share/doc/${name}-${version}
    xinstall -d ${destroot}${docdir}
    xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS \
        ${destroot}${docdir}
}

livecheck.type  regex
livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${my_name}/${branch}/
livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
