# -*- 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		gnome-devel-docs
version		2.26.2
set branch	[join [lrange [split ${version} .] 0 1] .]
description	The GNOME Developer Documentation Package
long_description        This is the GNOME Developer Documentation package including the following: \
                           - GNOME Platform Overview  \
                           - GNOME Integration Guide \
                           - GNOME Optimization Guide \
                           - GNOME Accessibility Developers Guide \
                           - GNOME Human Interface Guidelines \
                           - GNOME Documentation Project Handbook \
                           - GNOME Documentation Project Style Guide
             
maintainers	devans openmaintainer
categories	gnome devel
platforms	darwin
homepage	http://www.gnome.org/
master_sites    gnome:sources/${name}/${branch}/

checksums       md5     e07e79a0cf5c55c7a30ef6929aed7f1c \
                sha1    fbfd806995d654c0d1ad66af43f3b8d2caa1eb67 \
                rmd160  268a3bbfc4e8b07c5fcd7b3aea4dce9ef68baf03

depends_build   port:pkgconfig \
                port:xmlto \
                port:gnome-doc-utils

use_bzip2 	yes

configure.args  --mandir=${prefix}/share/man \
                --disable-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+)*)}
