# -*- 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 91659 2012-04-07 10:07:48Z jmr@macports.org $

PortSystem      1.0

name            startup-notification
version         0.12
set branch      [join [lrange [split ${version} .] 0 1] .]
maintainers     kpricorn.org:macports openmaintainer
categories      gnome
platforms       darwin
license         LGPL-2+
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.freedesktop.org/wiki/Software/startup-notification
master_sites    http://www.freedesktop.org/software/startup-notification/releases/

checksums           md5     2cd77326d4dcaed9a5a23a1232fb38e9 \
                    sha1    4198bce2808d03160454a2940d989f3a5dc96dbb \
                    rmd160  a0251adf67a804b7b22f41eaabb8e3d59a4c1856

depends_build \
    port:pkgconfig
depends_lib \
	port:xorg-libsm \
	port:xorg-libX11 \
	port:xorg-libxcb \
	port:xorg-xcb-util \
	port:xorg-xcb-proto

use_autoreconf yes

livecheck.type  regex
livecheck.url   http://www.freedesktop.org/software/startup-notification/releases/
livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)"
