# $Id: Portfile 45603 2009-01-18 20:52:41Z jeremyhu@macports.org $

PortSystem      1.0

name            startup-notification
version         0.9
revision        1
set branch      [join [lrange [split ${version} .] 0 1] .]
maintainers     nomaintainer
categories      gnome
platforms       darwin
description     Library that supports startup notification specs.

long_description \
    startup-notification is a minimal library that \
    supports the startup notification spec described \
    at www.freedesktop.org.

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

checksums       md5 624b42f1fac5a12c543a079e2cd3b366 \
                sha1 2c09f43247683d1e4a16b2f8d1e236b57eafae68 \
                rmd160 b9c26d40a8b9cce8e13c729fb77720d4fdcc6de1

depends_build \
	port:autoconf \
	port:automake \
	port:libtool

depends_lib \
	port:xorg-libsm \
	port:xorg-libX11

use_autoreconf yes
autoreconf.args -fvi

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