Source
# -*- 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 cxx11 1.1
name reduce
version 20181123
revision 1
set version_dashes [regsub {^(\d{4})(\d{2})(\d{2})$} ${version} {\1-\2-\3}]
set svnrev 4829
checksums rmd160 cf81887b9bab0d6fd7b4e4ff88e3eb67223d1330 \
sha256 9787f31ef1ec23988f4c551388c6ffffe5b97ca290de6eed1c12dff1737763c8 \
size 261842669
categories math
license BINARY BSD LGPL-2.1
platforms darwin
maintainers {gmail.com:mark.brethen @mbrethen} openmaintainer
description REDUCE Computer Algebra System
long_description REDUCE is a graphical Computer Algebra System. It \
allows for solving differential equations, integration,\
matrix manipulation and 3D plotting. It also contains a\
large number of additional packages.
homepage https://reduce-algebra.sourceforge.io/
master_sites sourceforge:project/reduce-algebra/snapshot_${version_dashes}
distname Reduce-svn${svnrev}-src
universal_variant no
patchfiles-append patch-packages-plot-gnuintfc.red.diff \
patch-generic-breduce-breduce.1.diff \
patch-reduce-deployment-target.diff \
patch-csl-prefix.diff \
patch-csl-create_old_bundle.diff
post-patch {
reinplace -W ${worksrcpath} "s|@PREFIX@|${prefix}|g" \
csl/cslbase/configure \
csl/cslbase/configure.ac \
csl/fox/configure \
csl/fox/configure.ac \
csl/foxtests/configure \
csl/foxtests/configure.ac \
packages/plot/gnuintfc.red \
generic/breduce/breduce.1
}
use_parallel_build no
depends_build-append port:automake \
port:autoconf \
port:libtool \
port:netpbm
if {[variant_isset doc]} {
depends_build-append \
port:dvipng \
port:texlive-fonts-extra \
port:texlive-formats-extra \
port:texlive-latex-extra \
port:texlive-plain-generic \