# $Id: Portfile 81402 2011-07-30 03:13:05Z jmr@macports.org $

PortSystem      1.0

name            libart_lgpl
version         2.3.21
set branch      [join [lrange [split ${version} .] 0 1] .]
categories      graphics
license         LGPL-2+
platforms       darwin
maintainers     toby
description     fast 2D image manipulation library

long_description \
    Libart is a library for high-performance 2D graphics. \
    It supports a very powerful imaging model, basically the \
    same as SVG and the Java 2D API. It includes all \
    PostScript imaging operations, and adds antialiasing and \
    alpha-transparency. It is also highly tuned for \
    incremental rendering. It contains data structures and \
    algorithms suited to rapid, precise computation of Region \
    of Interest, and a two-phase rendering pipeline optimized \
    for interactive display.

homepage        http://www.levien.com/libart/
master_sites    gnome:sources/${name}/${branch}/
use_bzip2       yes

checksums       md5 08559ff3c67fd95d57b0c5e91a6b4302 \
                sha1 dbac185c65696381ef188de1f98b348b530e22f9 \
                rmd160 ed40181ffc9d6646630c1db64532217acf7dd036

patchfiles      patch-Makefile.in patch-art_config.h

use_parallel_build  yes

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