# -*- 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 85952 2011-10-17 22:30:17Z devans@macports.org $

PortSystem          1.0

name                liblqr
livecheck.version   0.4.1
version             1-${livecheck.version}
license             {GPL-3 LGPL-3}
maintainers         gmail.com:myschizobuddy devans
categories          graphics
platforms           darwin

description         Liquid Rescale library.
long_description    Liquid Rescale library is a free, open source \
                    implementation of the algorithm described in this paper \
                    by Shai Avidan and Ariel Shamir. It aims at resizing \
                    pictures non uniformly while preserving their features, \
                    i.e. avoiding distortion of the important parts.

homepage            http://liblqr.wikidot.com/en:start
master_sites        http://liblqr.wikidot.com/local--files/en:download-page/

checksums           md5     0e24ed3c9fcdcb111062640764d7b87a \
                    sha1    42b30b157b0c47690baa847847e24c7c94412b75 \
                    rmd160  d0b43084cb63c34b01c988b6293d16d8859dc0d6

use_bzip2           yes
worksrcdir          ${name}-${version}

depends_lib         path:lib/pkgconfig/glib-2.0.pc:glib2
depends_build       port:pkgconfig

patchfiles          patch-lqr__lqr_energy_priv.h

livecheck.type      regex
livecheck.url       http://liblqr.wikidot.com/en:download-page
livecheck.regex     "(\\d+(?:\\.\\d+)*).* released on"
