# -*- 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 104904 2013-04-04 21:22:22Z devans@macports.org $

PortSystem      1.0

name            libgnome
version         2.32.1
set branch      [join [lrange [split ${version} .] 0 1] .]
maintainers     nomaintainer
categories      gnome
platforms       darwin
license         LGPL-2+
description     This is the non-gui part of the library formerly known as gnome-libs.

long_description \
    ${description}

homepage        http://www.gnome.org/
master_sites    gnome:sources/${name}/${branch}/
use_bzip2       yes

checksums       sha256  b2c63916866485793b87398266dd7778548c1734923c272a94d84ee011b6f7a4 \
                rmd160  e425910756737363ef910e9d2d5cd3820d009441

depends_build   port:pkgconfig \
                port:intltool \
                port:gtk-doc

depends_lib \
    port:libbonobo \
    port:libcanberra \
    port:gnome-vfs \
    port:libiconv \
    port:gettext

configure.args  --disable-schemas-install

post-activate {
    system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \
        gconftool-2 --makefile-install-rule \
            ${prefix}/etc/gconf/schemas/*.schemas"
}

patchfiles     patch-libgnome-Makefile.in.diff

livecheck.type  gnome
