# -*- 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 85738 2011-10-16 04:29:07Z dports@macports.org $

PortSystem 1.0

name		gnome-user-docs
version		2.30.1
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
license		GFDL-1.1
installs_libs	no
platforms	darwin
supported_archs noarch
homepage	http://www.gnome.org/
master_sites    gnome:sources/${name}/${branch}/

checksums       md5     eccd6a238a499ba42dbb6d74b02dd25a \
                sha1    431f90b59c4b74fd0f2ebc8a6661bc9fe4f571cb \
                rmd160  12b4a6690b96cc5fa13a5e06a28a26cef534b354

depends_build	port:gnome-doc-utils port:pkgconfig

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+)*)}
