# $Id: Portfile 68515 2010-06-05 10:12:15Z jeremyhu@macports.org $

PortSystem  1.0

name            tango-icon-theme
version         0.8.90
description     A collection of icons from the Tango Desktop Project.
long_description tango-icon-theme is a collection of bright and vivid icons and \
                emblems from the Tango Desktop Project. They can replace the gnome-icon-theme.
maintainers     elelay openmaintainer
categories      x11
platforms       darwin
homepage        http://tango.freedesktop.org/Tango_Icon_Library
master_sites    http://tango.freedesktop.org/releases/

checksums           md5     b7b9b16480afb781a4c13f8bceb8688b \
                    sha1    2cce3c86b8df05784a301564221661d909d58a10 \
                    rmd160  6aecee3212d66f91bd57a3260d25c3ba5c49f847

depends_build \
                port:pkgconfig \
                port:icon-naming-utils \
                port:ImageMagick

use_bzip2       yes

if {[info exists supported_archs]} {
    supported_archs noarch
} else {
    universal_variant no
}

livecheck.type  regex
livecheck.regex  ${name}-(\[0-9\]+\\.\[0-9\]+\\.\[0-9\]+)\\.tar\\.gz

variant big_icons description {create 48,64,72,96,128 pixels icons; implies 20Mo more of png files} {
        configure.args-append --enable-png-creation
        depends_build-append  port:librsvg
}
