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

PortSystem 1.0

name		gnome-user-docs
version		2.26.2
set branch      [join [lrange [split ${version} .] 0 1] .]
description	End-user documentation for GNOME2
long_description        This package contains documents which will be \
			packaged together and shipped as gnome-user-docs \
			in the core GNOME distribution. They should be \
			documents targetted for end-users of GNOME.
maintainers	nomaintainer
categories	gnome
platforms	darwin
homepage	http://www.gnome.org/
master_sites    gnome:sources/${name}/${branch}/
checksums       md5     b259de6dcb6a0421fcb28a66e3d20da1 \
                sha1    95c66b850e52300f4ed0d3769e0b04cb91d21c31 \
                rmd160  ee43875a78186d21031079efd9f9fa7beff373c5
depends_lib	port:rarian
depends_build	port:gnome-doc-utils
use_bzip2 	yes
configure.args	--disable-scrollkeeper

post-activate	{
	system "${prefix}/bin/scrollkeeper-update"
}

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