# -*- 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 57375 2009-09-10 08:16:41Z ryandesign@macports.org $

PortSystem 1.0

name		gnopernicus
version		1.1.2
revision	1
set branch      [join [lrange [split ${version} .] 0 1] .]
description	Collection of accessibility apps for GNOME 2.
long_description        Gnopernicus provides Assistive Technologies (AT) \
			for blind and visually impaired persons through \
			modules for text-to-speech, braille, etc.
maintainers	nomaintainer
categories	gnome
platforms	darwin
homepage	http://www.baum.ro/gnopernicus.html
master_sites    gnome:sources/${name}/${branch}/
use_bzip2	yes
patchfiles	patch_sercomm.c
checksums	md5 64677df8961a68a73003393166f710bd \
			sha1 161bf9b96330db01028c267b3885d7b734ceef71 \
			rmd160 1b5b34f4fa085b4e6fb12650326704e3863dbf55
depends_lib	port:gtk2 \
		port:gconf \
		port:libgnome \
		port:libgnomeui \
		port:gnome-speech \
		port:dbus \
		port:dbus-glib
configure.cppflags-append "-L${prefix}/lib"
configure.cflags-append "-no-cpp-precomp -flat_namespace -undefined suppress"
configure.args	--disable-scrollkeeper

post-destroot	{
	file delete -force ${destroot}${prefix}/var/scrollkeeper
}

post-activate	{
	system "scrollkeeper-update"
}

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