# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 84746 2011-09-30 12:39:29Z jmr@macports.org $

PortSystem      1.0

name            libgnomeprintui
version         2.18.6
revision        1
set branch      [join [lrange [split ${version} .] 0 1] .]
maintainers     nomaintainer
license         LGPL
categories      gnome
platforms       darwin
description     This is an implementation of the Gnome Printing Architecture

long_description \
    ${description}

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

checksums       md5     cbfab252ec7e9dc25bb1fe1610c3270b \
                sha1    07030a1726ccb927158591087fb0e96f40d95cfa \
                rmd160  772ebeb7e59906734014eb8f2f2fedba91c8f1a9

depends_build   port:pkgconfig \
                port:intltool \
                port:gtk-doc

depends_lib     port:gtk2 \
                port:libgnomeprint \
                port:libgnomecanvas

depends_run     port:gnome-icon-theme

configure.args  --disable-gtk-doc

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