# -*- 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 107270 2013-06-24 21:54:05Z devans@macports.org $

PortSystem      1.0

name            gnome-themes-standard
conflicts       gnome-themes
version         3.8.1
set branch      [join [lrange [split ${version} .] 0 1] .]
categories      gnome
maintainers     devans openmaintainer
license         LGPL-2.1+ GPL-2+
platforms       darwin
description     Default GNOME 3 theme

long_description \
                gnome-themes-standard contains various components of the \
                default GNOME 3 themes for GTK+ 2 and GTK+ 3 applications \
                (Adwaita, HighContrast, LowContrast).

homepage        http://www.gnome.org/
master_sites    gnome:sources/$name/$branch/
use_xz          yes

checksums       rmd160  bb79ee63688bb962d17cf832301d572c13396c9d \
                sha256  5cc1b27a70ca6176343212159236332799b074885867e380ed9b3817e15dd1d1

depends_build   port:intltool \
                port:pkgconfig

depends_lib     port:gtk3 \
                port:gtk2 \
                port:librsvg

notes "
You can make Adwaita the default theme with:
------------------------------------------------------
mkdir -p ~/.config/gtk-3.0 &&
cat > ~/.config/gtk-3.0/settings.ini << \"EOF\"
\[Settings\]
gtk-theme-name = Adwaita
gtk-fallback-icon-theme = gnome
EOF
------------------------------------------------------
"

livecheck.type  gnome
livecheck.name  ${name}
