# -*- 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
PortGroup           makefile 1.0

name                mathomatic
version             16.0.5
revision            1
categories          math
maintainers         nomaintainer
license             LGPL-2.1
description         small, portable symbolic math program
long_description    Mathomatic is a small, portable symbolic math program \
                    that can automatically solve, simplify, differentiate, \
                    combine, and compare algebraic equations, perform \
                    polynomial and complex arithmetic, etc.

homepage            https://web.archive.org/web/20200730130442/http://www.mathomatic.org/math/
master_sites        macports_distfiles
checksums           rmd160  7ede75ba73213d17d7a49f75c1ff293981737d07 \
                    sha256  976e6fed1014586bcd584e417c074fa86e4ca6a0fcc2950254da2efde99084ca \
                    size    292220
use_bzip2           yes

depends_lib         port:libedit

patchfiles          patch-makefile.diff

build.args          READLINE=1

makefile.prefix_name prefix

test.run            yes

livecheck.type      none
