# -*- 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                gri
version             2.12.23
revision            11
categories          science graphics
platforms           darwin
license             GPL-3
maintainers         nomaintainer

description         A scientific graphics programming language

long_description    Gri is a language for scientific graphics programming. \
                    The word "language" is important: Gri is command-driven, \
                    not point/click. \
                    Some users consider Gri similar to LaTeX, since both \
                    provide extensive power in exchange for patience in \
                    learning syntax.\
                    Gri can make x-y graphs, contour graphs, and image \
                    graphs, in PostScript and (someday) SVG formats. \
                    Control is provided over all aspects of drawing, e.g. \
                    line widths, colors, and fonts. A TeX-like syntax \
                    provides common mathematical symbols.

homepage            http://gri.sourceforge.net/
master_sites        sourceforge:project/gri/gri/${version}

checksums           rmd160  9cd7861c88f7db0ec9a23e9cc2a2971a9d763842 \
                    sha256  a24e703f30250ed705c0a242aa59a24748259ea7355fca52152f367f45bfd2e7 \
                    size    1668587

depends_build       port:ghostscript \
                    port:ImageMagick \
                    path:bin/perl:perl5 \
                    bin:tex:texlive

depends_lib         port:readline

patchfiles          patch-doc-gri.texi.diff \
                    patch-doc-texinfo2HTML.diff \
                    patch-illegal-regex.diff \
                    patch-texi_encoding.diff

# makeinfo: rename gri.info failed: No such file or directory
use_parallel_build  no
