# -*- 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 55010 2009-08-06 02:46:59Z ryandesign@macports.org $

PortSystem 1.0

name            cairomm
version         1.8.2
set branch      [join [lrange [split ${version} .] 0 1] .]
categories      graphics
maintainers     devans openmaintainer
description     Cairo is a vector graphics library with cross-device output support.
long_description \
                Cairo is designed to produce identical \
                output on all output media while taking advantage of \
                display hardware acceleration when available \
                (eg. through the X Render Extension).
homepage        http://cairographics.org/
master_sites    ${homepage}releases/
platforms       darwin

checksums       md5     24aa46a4f92bdb2af7cd80e6b335f07f \
                sha1    f3324c1659c0293335cb10b7431c73a3d4d994af \
                rmd160  8d3a8f87b25a8117f53805bc72b7eed3b9673984

depends_lib     path:lib/pkgconfig/cairo.pc:cairo \
                port:libsigcxx2

patchfiles      patch-quartz-lp64.diff

livecheck.check regex
livecheck.url   http://cairographics.org/releases/
livecheck.regex "${name}-(${branch}(?:\\.\\d+)*)${extract.suffix}"
