# -*- 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 85201 2011-10-11 04:03:35Z jmr@macports.org $

PortSystem 1.0

name		gtkmm
version		2.24.2
set branch      [join [lrange [split ${version} .] 0 1] .]
description	C++ interface to GTK+.
long_description        gtkmm (previously known as Gtk--) is the official \
			C++ interface for the popular GUI library GTK+.
maintainers	devans openmaintainer
categories	x11 devel
license		LGPL-2.1+
platforms	darwin
homepage	http://www.gtkmm.org/
master_sites    gnome:sources/${name}/${branch}/
use_bzip2	yes

checksums       sha1    2d4bb3c84a561d11025213fe681e0ecf0144ee1d \
                rmd160  fe7039582737884123f1da696b052d40da7eeaae

depends_build   port:pkgconfig

depends_lib	port:gtk2 \
                port:glibmm \
                path:lib/pkgconfig/cairomm-1.0.pc:cairomm \
                port:pangomm \
                port:atkmm

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