# -*- 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

PortSystem          1.0

name                liblqr
livecheck.version   0.4.2
version             1-${livecheck.version}
license             {GPL-3 LGPL-3}
maintainers         {devans @dbevans}
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           sha256  173a822efd207d72cda7d7f4e951c5000f31b10209366ff7f0f5972f7f9ff137 \
                    rmd160  e69cf09ffeca3b426d5905a4a26b289c383e5260

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

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

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