# -*- 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

PortSystem          1.0

name                nimbus
version             0.0.17
revision            2
maintainers         nomaintainer
categories          x11 gnome
license             LGPL
platforms           darwin
description         Old default GNOME 2 theme from Sun Microsystems

long_description    ${description}

homepage            https://www.oracle.com/sun/index.html
master_sites        macports_distfiles
use_bzip2           yes

checksums           md5     c338357e3918cf391193b8429cab5975 \
                    sha1    0b984715e0c010ce034a32b7ba69e0582be65362 \
                    rmd160  27ca94d7e5924db73a594086903b5b8cdf8e369a

depends_build       port:intltool \
                    port:pkgconfig \
                    port:icon-naming-utils \
                    path:lib/pkgconfig/glib-2.0.pc:glib2

depends_lib         port:gtk2

universal_variant   no

patchfiles          patch-configure.in.diff

# reconfigure using intltoolize and autoreconf for intltool 0.51 compatibility

pre-configure {
    system -W ${worksrcpath} "intltoolize --automake --copy --force"
}

use_autoreconf      yes
autoreconf.args     -fvi

livecheck.type      none
