# -*- 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 59672 2009-10-19 15:38:35Z devans@macports.org $

PortSystem 1.0

name            cairomm
conflicts       cairomm-devel
version         1.8.4
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     559afbc47484ba3fad265e38a3dafe90 \
                sha1    fdea579f406261881a0f4f6242a3980aecef382d \
                rmd160  eeab13a5378a9d657295512ac655cf1e90dece8f

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

patchfiles      patch-quartz-lp64.diff

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