# -*- 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 53548 2009-07-08 01:53:57Z ryandesign@macports.org $

PortSystem      1.0

name            gtk-engines2
set my_name     gtk-engines
epoch           1
version         2.18.2
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     68c7d012923bf40fab47765e82de0676 \
                sha1    6f1fd455b28e8de6156a7d17fb012cf510bbabd3 \
                rmd160  014364d551fbc094dcd8fc30ad91a63b7b8255e5

depends_build \
    port:intltool

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

configure.args  --enable-animation

use_parallel_build  yes

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