# -*- 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                orpie
version             1.5.2
revision            3
platforms           darwin
license             GPL-2
maintainers         nomaintainer
categories          math

description         fullscreen RPN calculator for the console
long_description    Orpie is a fullscreen RPN calculator for the console. Its \
                    operation is similar to that of modern HP calculators, but \
                    data entry has been optimized for efficiency on a PC keyboard. \
                    Features include extensive scientific calculator \
                    functionality, command completion, and a visible interactive \
                    stack.

homepage            http://pessimization.com/software/orpie/
master_sites        ${homepage}

checksums           rmd160 61ee7019ec5d141aade27d1c78770c2b11803085 \
                    sha256 de557fc7f608c6cb1f44a965d3ae07fc6baf2b02a0d7994b89d6a0e0d87d3d6d

depends_build       port:ocaml \
                    port:ocaml-camlp4
depends_lib         port:gsl

use_parallel_build  no

patch.pre_args      -p1
patchfiles          patch-gsl-mgsl_sf.c.diff