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

PortSystem          1.0
name                appres
version             1.0.1
revision            1
categories          x11
maintainers         blb openmaintainer
description         Show resources seen by an X11 application
long_description \
   The appres program prints the resources seen by an application (or \
   subhierarchy of an application) with the specified class and instance \
   names.  It can be used to determine which resources a particular program \
   will load.

platforms           darwin

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

checksums           md5     420e6cdf38bb771ec8b00228bf09e8ff \
                    sha1    e50126abc99c64e4827a6b4c27dd2cd473bd958f \
                    rmd160  e9672cf8c500e3dd345d193ec0a40a9d19795783

depends_build       port:pkgconfig

depends_lib \
	port:xorg-libXt

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

