PortSystem  1.0

name            tango-icon-theme
version         0.8.90
revision        0
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     nomaintainer
categories      x11
platforms       any
license         public-domain
supported_archs noarch

patchfiles	    configure.ac-and-svg2png.sh.in.diff
patch.pre_args-replace  -p0 -p1

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 \
                path:lib/pkgconfig/glib-2.0.pc:glib2 \
                port:intltool

use_bzip2       yes
use_autoreconf	yes

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  path:lib/pkgconfig/librsvg-2.0.pc:librsvg
}