# -*- 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 119991 2014-05-12 17:45:19Z devans@macports.org $

PortSystem          1.0

name                gnome-backgrounds
version             3.12.2
set branch          [join [lrange [split ${version} .] 0 1] .]
maintainers         nomaintainer
categories          gnome
license             GPL-2
installs_libs       no
platforms           darwin
supported_archs     noarch

description         A collection of backgrounds for GNOME 2.
long_description    $description

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

use_xz              yes

checksums           rmd160  e20c2d582c664752dc44a1f07e109d9ebd4f9bb0 \
                    sha256  ac4d3e0fffc5991865ca748e728a1ab87f167400105250ce2195b03502427180

depends_build       port:intltool \
                    port:gettext

depends_lib         path:lib/pkgconfig/glib-2.0.pc:glib2

# update m4/intltool.m4 and autoreconf

pre-configure {
    copy -force ${prefix}/share/aclocal/intltool.m4 ${worksrcpath}/m4
}

use_autoreconf      yes
autoreconf.args     -fvi

livecheck.type      gnome
