# $Id: Portfile 68516 2010-06-05 10:13:19Z jeremyhu@macports.org $

PortSystem  1.0

name            tango-icon-theme-extras
version         0.1.0
description     A collection of extra icons for the Tango theme.
long_description tango-icon-theme-extras is an additionnal collection \
                (mostly ipod variations) of icons adhering to the \
                Tango Desktop Project style guideline.
maintainers     elelay openmaintainer
categories      x11
platforms       darwin 
homepage        http://tango.freedesktop.org/Tango_Icon_Library
master_sites    http://tango.freedesktop.org/releases/

checksums       md5 caaceaec7b61f1cbda0db9842f9db281 \
                sha1 1bed3023139187c36e851df19506f4942bf2d1c1 \
                rmd160 7c301bbe6748fc770bc52f91624ce676624d00e3

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

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

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

variant big_icons description {create 32,48,64,72,96,128 pixels icons from the scalable version } {
	configure.args-append --enable-png-creation
	depends_build-append	port:librsvg
}
