# -*- 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 58939 2009-10-07 16:01:50Z devans@macports.org $

PortSystem      1.0

name            libgnomeui
version         2.24.2
set branch      [join [lrange [split ${version} .] 0 1] .]
maintainers     nomaintainer
categories      gnome
platforms       darwin
description     Libraries for the GNOME GUI, a GNU desktop environment.

long_description \
    ${description}

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

checksums       md5     d455674fa1a477903dbfcf603f060172 \
                sha1    8b9e796f0c78b4b42b2f0bac0c9baf821c3bdc9f \
                rmd160  29f9c425c9b8a137228688b9f614e9b46cfa136b

depends_lib     port:libbonoboui \
                port:gnome-icon-theme \
                port:gnome-keyring

variant no_x11 {
	configure.args-append   --disable-static --enable-shared --without-x
	configure.env-append  X11_CFLAGS=' ' X11_LIBS=' ' SM_CFLAGS=' ' SM_LIBS=' '
	patchfiles-append patch-configure.diff
}

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