# $Id: Portfile 45603 2009-01-18 20:52:41Z jeremyhu@macports.org $

PortSystem          1.0
name                editres
version             1.0.3
revision            1
categories          x11 graphics
maintainers         blb openmaintainer
description         Dynamic resource editor for X11 Toolkit applications
long_description \
   Editres is a tool that allows users and application developers to view \
   the full widget hierarchy of any X Toolkit application that speaks the \
   Editres protocol.   In addition, editres will help the user construct \
   resource specifications, allow the user to apply the resource to the \
   application and view the results dynamically.  Once the user is happy \
   with a resource specification editres will append the resource string to \
   the user's X Resources file.

platforms           darwin

homepage            http://www.x.org/
master_sites        ${homepage}pub/individual/app/
use_bzip2           yes

checksums           md5     a25f931cc6c8d03daaed434f5db5df2d \
                    sha1    f87c18325ae169ea349b59f8bad77375f50d65be \
                    rmd160  1e9da4d41b39458df93d2ee559b27f2d86dfba26

depends_build       port:pkgconfig

depends_lib         port:xorg-libXaw

configure.args      --disable-xprint

livecheck.check     regex
livecheck.regex     ${name}-(\[\\d.\]+)${extract.suffix}
livecheck.url       ${master_sites}

