# -*- 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 57494 2009-09-11 17:13:09Z devans@macports.org $

PortSystem      1.0
PortGroup       muniversal 1.0

name            gconf
set my_name     GConf
version         2.26.2
set branch      [join [lrange [split ${version} .] 0 1] .]
maintainers     nomaintainer
categories      gnome
platforms       darwin
description     GConf is a configuration database system.

long_description \
    GConf is a configuration database system, \
    functionally similar to the Windows registry \
    but lots better. :-) It's written for \
    the GNOME desktop but does not require GNOME.

homepage        http://www.gnome.org/projects/gconf/
master_sites    gnome:sources/${my_name}/${branch}/
distname        ${my_name}-${version}
use_bzip2       yes

checksums       md5     8b55d58dab13e821e048627aa4f92b8b \
                sha1    bf5323d974fa22165de2144100234647fd50ef17 \
                rmd160  280cd55dc3562445c716b88dfddba4ddd2508786

depends_build   port:pkgconfig \
                port:intltool \
                port:p5-xml-parser

depends_lib     port:gtk2 \
                port:dbus-glib \
                port:policykit \
                port:orbit2

configure.cppflags-append -L${prefix}/lib

destroot.keepdirs \
    ${destroot}${prefix}/etc/gconf/gconf.xml.mandatory \
    ${destroot}${prefix}/etc/gconf/gconf.xml.defaults

livecheck.type  regex
livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${my_name}/${branch}/
livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
