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

PortSystem          1.0
name                xcalc
version             1.0.2
revision            1
categories          x11 math science
maintainers         blb openmaintainer
description         Scientific calculator for X11
long_description \
   xcalc is a scientific calculator desktop accessory that can emulate a \
   TI-30 or an HP-10C.

platforms           darwin

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

checksums           md5     d31a99795b9668f047aa11bf36df6df0 \
                    sha1    0bb9691201e403d294779e401a70f32d6d99cdd9 \
                    rmd160  d38d1e35c6fe76f1cf679dc721d7f1385597702c

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}

