# -*- 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 86480 2011-10-26 17:04:50Z devans@macports.org $

PortSystem 1.0

name            pangomm
version         2.28.4
license         GPL-2 LGPL-2.1
set branch      [join [lrange [split ${version} .] 0 1] .]
description     C++ interface to Pango.
long_description    pangomm is the official \
                C++ interface for the Pango text layout library.
maintainers     devans openmaintainer
categories      x11 devel
platforms       darwin
homepage        http://www.gtkmm.org/
master_sites    gnome:sources/${name}/${branch}/
use_bzip2       yes

checksums       sha1    ee83497485e180708dffbf2e68d633ae8d5a36b4 \
                rmd160  6cf24b4ed6fc8d1ff48faa93c3b698eda62fa59f

depends_build   port:pkgconfig
depends_lib     path:lib/pkgconfig/pango.pc:pango \
                path:lib/pkgconfig/cairomm-1.0.pc:cairomm \
                port:glibmm \
                port:libsigcxx2

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