# -*- 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 83808 2011-09-11 11:10:53Z afb@macports.org $

PortSystem 1.0

name            ristretto
version         0.0.22
categories      xfce
platforms       darwin
license         GPL-2+
maintainers     afb
description     Ristretto is a fast and lightweight picture-viewer \
                for the Xfce desktop environment.
long_description ${description}
homepage        http://goodies.xfce.org/projects/applications/ristretto
master_sites    http://goodies.xfce.org/releases/ristretto
checksums       md5 978ae19472c5a0b7d4b6622a68234a67 \
                sha1 bddbc8618ba67699ccf5ee4ea0b538b1be7fdb0a \
                rmd160 a3661a3d7624996d2ebae20f2c86db1968e009a8

depends_build   port:intltool port:pkgconfig
depends_lib     port:gtk2 port:Thunar port:libxfce4util \
                port:libxfcegui4 port:libexif port:dbus-glib

livecheck.type  regex
# get the last modified tarball
livecheck.url   ${master_sites}?C=M\;O=D
livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}
