# -*- 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

PortSystem      1.0

name            startup-notification
version         0.12
revision        1
set branch      [join [lrange [split ${version} .] 0 1] .]
maintainers     nomaintainer
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        https://www.freedesktop.org/wiki/Software/startup-notification/
master_sites    https://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-proto \
    port:xorg-xcb-util

patchfiles automake.patch

use_autoreconf yes

livecheck.type  regex
livecheck.url   [lindex ${master_sites} 0]
livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)"
