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

PortSystem          1.0
name                viewres
version             1.0.1
revision            1
categories          x11 graphics
maintainers         blb openmaintainer
description         Graphical class browser for Xt
long_description \
   The viewres program displays a tree showing the widget class hierarchy \
   of the Athena Widget Set.  Each node in the tree can be expanded to show \
   the resources that the corresponding class adds (i.e. does not inherit \
   from its parent) when a widget is created.  This application allows the \
   user to visually examine the structure and inherited resources for the \
   Athena Widget Set.

platforms           darwin

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

checksums           md5     cdbed540daf7975b56000420c9aa5bf9 \
                    sha1    1dff013616ca56c363308a172b2283169f58d8a0 \
                    rmd160  186ac515a4e0fbd3654a592dcd696495fc9f71ad

depends_build       port:pkgconfig

depends_lib         port:xorg-libXaw

configure.args      --mandir=${prefix}/share/man --disable-xprint

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

