# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0

name                xcalc
version             1.1.0
categories          x11 math science
license             X11
maintainers         {jeremyhu @jeremyhu} 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            https://www.x.org/
master_sites        xorg:individual/app/
use_bzip2           yes

checksums           rmd160  98617bc78e3d02ec55b8af093efaa744f41c228f \
                    sha256  d5d746954465afc3da1f355d721882806568fb04b4d059c027702c0d16a3b5eb \
                    size    148193

depends_build       port:pkgconfig

depends_lib         port:xorg-libXaw

livecheck.type      regex
livecheck.regex     ${name}-(\[\\d.\]+)${extract.suffix}
livecheck.url       https://xorg.freedesktop.org/archive/individual/app/?C=M&O=D