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

PortSystem          1.0
name                listres
version             1.0.1
revision            1
categories          x11 graphics
maintainers         blb openmaintainer
description         List resources in X11 widgets
long_description \
   The listres program generates a list of a widget's resource database.  \
   The class in which each resource is first defined, the instance and class \
   name, and the type of each resource is listed.  If no specific widgets or \
   the -all switch are given, a two-column list of widget names and their \
   class hierarchies is printed.

platforms           darwin

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

checksums           md5     827a1ac5adf9aadd0c13b54a897e297b \
                    sha1    389bd1dfa099746aeb7e31cb46dcfca18ad53c2e \
                    rmd160  8dc3ab492705faa7e6397e625e43d65598ab0c4e

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}

