# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 48531 2009-03-24 15:04:43Z devans@macports.org $

PortSystem 1.0

name		libunique
version		1.0.8
set branch      [join [lrange [split ${version} .] 0 1] .]
description	Unique is a library for writing single instance applications.
long_description \
                Unique is a library for writing single instance applications. \
                If you launch a single instance application twice, the second \
                instance will either just quit or will send a message to the \
                running instance.
maintainers     devans openmaintainer
categories	gnome devel
platforms	darwin
homepage	http://live.gnome.org/LibUnique
master_sites    gnome:sources/${name}/${branch}/

checksums       md5     8ea35a7d8da7ef2952cd79f9e1324053 \
                sha1    3497b89b69c5d8ed70b487d32bd449bb0b7bc91f \
                rmd160  6fb3469fc8282e248e9776cc4972f2eac75971db

depends_build   port:pkgconfig

depends_lib     port:gtk2 \
                port:dbus-glib

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