# -*- 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 57576 2009-09-13 14:18:44Z devans@macports.org $

PortSystem 1.0

name		libgtop
version		2.26.1
set branch      [join [lrange [split ${version} .] 0 1] .]
description	A library for gtop2
long_description \
		This is library for the gtop2, the GNOME 2.0 \
		version of top command. The top command is a tool \
		to display and update information about the top \
		cpu processes.
maintainers	devans openmaintainer
categories	gnome
platforms	darwin
homepage	http://www.gnome.org/
master_sites    gnome:sources/${name}/${branch}/

checksums       md5     49fe5c91a6bbc103a0a05c6854a6cc11 \
                sha1    758bbf69009c6bcfe2765de97e7027124c5a147e \
                rmd160  5177aad953508b20d794d2390204b5b07bc364f5

depends_build   port:pkgconfig \
                port:gtk-doc

depends_lib     path:lib/pkgconfig/glib-2.0.pc:glib2

use_bzip2 	yes

patchfiles      patch-sysdeps__darwin__proclist.c.diff

configure.args	--mandir=${prefix}/share/man \
                --infodir=${prefix}/share/info \
                --x-includes=${prefix}/include \
                --x-libraries=${prefix}/lib

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