# -*- 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 113533 2013-11-19 12:17:22Z jmr@macports.org $

PortSystem 1.0

name		gnotify
version		1.2
description	Gnotify is a notification-service daemon.
long_description	GNotify is a little daemon written in C using GTK. It \
			provides (like the KDE KNotify-system) a notification-service \
			for Gnome/XFce/FVWM/Fluxbox/Enlightenment and other \
			Desktop-Environments/WindowManagers.
maintainers	nomaintainer
categories	gnome
license		GPL-2+
platforms	darwin
homepage	http://gnotify.sf.net
master_sites    sourceforge
checksums	md5 6e7a031a5b1e9b12ac04992ccbf71627
patchfiles	patch_Makefile.in
depends_build	port:pkgconfig port:automake
depends_lib	bin:gnome-session:gnome-session
post-patch	{
		foreach tool [glob -directory ${prefix}/share automake-*/{install-sh,mkinstalldirs,missing}] {
			file copy -force $tool ${worksrcpath}
		}
}

livecheck.url   http://sourceforge.net/projects/${name}/files/${name}/
livecheck.regex "(?i)${name} (\\d+(?:\\.\\d+)*)"
