# -*- 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 65042 2010-03-20 10:32:05Z ryandesign@macports.org $

PortSystem      1.0

name            gtk-engines2
set my_name     gtk-engines
epoch           1
version         2.18.5
set branch      [join [lrange [split ${version} .] 0 1] .]
categories      x11
maintainers     nomaintainer
platforms       darwin
description     Theme engine for gtk2

long_description \
    gtk-engines2 is a theme engine for GTK+ 2.  It provides \
    the ability to change the way widgets, buttons, etc. \
    look when using GTK+ 2 applications.

homepage        http://www.gtk.org/
master_sites    gnome:sources/$my_name/$branch/
distname        $my_name-$version
use_bzip2       yes

checksums       md5     8ab438af9f460b1dacbe37437612c629 \
                sha1    bc540837ec7aa81b155c46317aacb367c3b71314 \
                rmd160  34b47034302b18defdd2191bb9bea06b2ca4e614

depends_build \
    port:intltool

depends_lib \
    port:gettext \
    port:libiconv \
    port:gtk2

configure.args  --enable-animation

use_parallel_build  yes

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