<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/699f0da0327a2cef477bbe03030e7b8ff4c9e6e5">https://github.com/macports/macports-ports/commit/699f0da0327a2cef477bbe03030e7b8ff4c9e6e5</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 699f0da reduce: update to 20181123
</span>699f0da is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 699f0da0327a2cef477bbe03030e7b8ff4c9e6e5
</span>Author: ken-cunningham-webuse <ken.cunningham.webuse@gmail.com>
AuthorDate: Sun Dec 16 16:43:24 2018 -0800
<span style='display:block; white-space:pre;color:#404040;'> reduce: update to 20181123
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> also several changes:
</span><span style='display:block; white-space:pre;color:#404040;'> rolled breduce subport into main port
</span><span style='display:block; white-space:pre;color:#404040;'> added cxx11 1.1 PG which enables build on most systems
</span><span style='display:block; white-space:pre;color:#404040;'> remove hardcoded deployment target in source
</span><span style='display:block; white-space:pre;color:#404040;'> refactor Portfile
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> closes: https://trac.macports.org/ticket/55179
</span><span style='display:block; white-space:pre;color:#404040;'> closes: https://trac.macports.org/ticket/56375
</span><span style='display:block; white-space:pre;color:#404040;'> closes: https://trac.macports.org/ticket/52998
</span><span style='display:block; white-space:pre;color:#404040;'> closes: https://trac.macports.org/ticket/57772
</span><span style='display:block; white-space:pre;color:#404040;'> closes: https://trac.macports.org/ticket/57592
</span><span style='display:block; white-space:pre;color:#404040;'> closes: https://trac.macports.org/ticket/57591
</span>---
math/reduce/Portfile | 480 ++++++++-------------
.../files/patch-csl-cslbase-crlibm-configure.diff | 11 -
math/reduce/files/patch-csl-cslbase-print.c.diff | 11 -
.../files/patch-generic-breduce-breduce.1.diff | 10 +
.../files/patch-packages-plot-gnuintfc.red.diff | 20 +
.../files/patch-reduce-deployment-target.diff | 84 ++++
math/reduce/files/patch-src-redline.c.diff | 38 --
math/reduce/files/redcsl.1 | 253 +++++++++++
math/reduce/files/redpsl.1 | 18 +
math/reduce/files/runbootstrapreduce.sh | 6 +
math/reduce/files/runcsl.in | 4 -
math/reduce/files/runcsl.sh | 6 +
math/reduce/files/runcsllisp.sh | 7 +
math/reduce/files/runpsl.in | 16 -
math/reduce/files/runpsl.sh | 19 +
15 files changed, 601 insertions(+), 382 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/reduce/Portfile b/math/reduce/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index efda4dd..27e2c0d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/reduce/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/reduce/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,338 +1,214 @@
</span> # -*- 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
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> PortSystem 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup cxx11 1.1
</span>
name reduce
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# snapshot of the REDUCE development, dated Nov 30,2014 (svn revision 2855)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 20141130
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 20181123
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> set version_dashes [regsub {^(\d{4})(\d{2})(\d{2})$} ${version} {\1-\2-\3}]
<span style='display:block; white-space:pre;background:#e0ffe0;'>+set svnrev 4829
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 cf81887b9bab0d6fd7b4e4ff88e3eb67223d1330 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 9787f31ef1ec23988f4c551388c6ffffe5b97ca290de6eed1c12dff1737763c8 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 261842669
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> categories math
<span style='display:block; white-space:pre;background:#e0ffe0;'>+license BINARY BSD LGPL-2.1
</span> platforms darwin
maintainers {gmail.com:mark.brethen @mbrethen} openmaintainer
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# The BULK of the files are subject to the (modified) BSD license.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# There are some components that are subject to more restrictive
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# terms (notably the FOX GUI Toolkit, used in one version of the
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# code, is under LGPL).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# See http://sourceforge.net/p/reduce-algebra/code/HEAD/tree/trunk/README
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-license BSD LGPL-2.1
</span>
description REDUCE Computer Algebra System
<span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description REDUCE is a graphical Computer Algebra System. It\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- allows for solving differential equations, integration,\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- matrix manipulation and 3D plotting. It also contains a\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- large number of additional packages.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage http://reduce-algebra.sourceforge.net/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites sourceforge:project/reduce-algebra/Snapshot_${version_dashes}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distname reduce-src-${version_dashes}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_bzip2 yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 b08512ea6bc8900a3a557c85d0576be640489202 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 b15debc944475d4daee1bcbdbaff415693522306785507f2d3110d75df6e7006
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libedit\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:xorg-libXcursor\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:Xft2\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:xorg-libXrandr\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:freetype\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:ncurses
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_build-append port:autoconf \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:automake
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_run port:gnuplot
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-universal_variant no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_parallel_build no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set docsrcdir ${worksrcpath}/doc/manual
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set docprimersdir ${worksrcpath}/doc/primers
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description REDUCE is a graphical Computer Algebra System. It \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ allows for solving differential equations, integration,\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ matrix manipulation and 3D plotting. It also contains a\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ large number of additional packages.
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set docbasename manual
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set genericdir ${worksrcpath}/generic
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set redfrontsrcdir ${genericdir}/redfront/src
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set redfrontbuilddir ${genericdir}/redfront
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set libexecdir ${destroot}${prefix}/libexec/${name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set sharedir ${destroot}${prefix}/share/${name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set redfrontsharedir ${destroot}${prefix}/share/reduce-addons/redfront
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set fontdir ${destroot}${prefix}/share/${name}/fonts
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set resourcesdir ${destroot}${prefix}/share/${name}/resources
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set testlogsdir ${destroot}${prefix}/share/${name}/testlogs
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set docdir ${destroot}${prefix}/share/doc/${name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set addondocdir ${destroot}${prefix}/share/doc/reduce-addons
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set mandir ${destroot}${prefix}/share/man/man1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set sitelispdir ${destroot}${prefix}/share/emacs/site-lisp/${name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set bindir ${destroot}${prefix}/bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://reduce-algebra.sourceforge.io/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites sourceforge:project/reduce-algebra/snapshot_${version_dashes}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distname Reduce-svn${svnrev}-src
</span>
pre-fetch {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${os.major} < 13} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_error "${name} is only supported on OS X 10.9 Mavericks or later."
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return -code error "unsupported platform version"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# This is just a stub that installs all REDUCE subports.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${name} eq ${subport}} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- supported_archs noarch
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- distfiles
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- archive_sites
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- use_configure no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- build {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_run-append\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:reduce-common\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:reduce-csl\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:reduce-psl\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:reduce-addons
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Create a dummy file so the port can be successfully activated.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -d ${docdir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set docfile [open ${docdir}/README.${name}.txt "w"]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- puts $docfile "REDUCE ${version} (MacPorts revision ${version}_${revision})\n"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- puts $docfile "${long_description}\n"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- close $docfile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # the following lines generate a (spurious) port lint error
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${prefix} ne "/opt/local"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_error "${name} is only supported in /opt/local at present."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return -code error "unsupported configuration"
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.version ${version_dashes}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.url https://sourceforge.net/projects/reduce-algebra/files/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.regex {snapshot_(\d{4}-\d{2}-\d{2})}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-} else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.type none
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-subport reduce-common {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- license BSD
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- revision 0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- description ${description} -- common files
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- long_description "${long_description}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This installs the files that are independent of the Lisp system used.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- use_configure no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- build.dir ${worksrcpath}/doc/manual
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Build errors were caused by broken symlinks in the texlive-bin port.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Fixed in r142269.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_build-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:texlive-basic\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:texlive-formats-extra\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:dvipng
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|'\${JOBNAME}'|'\"\${JOBNAME}\"'|g" ${docsrcdir}/mkhtml.sh
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+universal_variant no
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- pre-build {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system -W ${docsrcdir} "${build.cmd} clean"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-packages-plot-gnuintfc.red.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-generic-breduce-breduce.1.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-reduce-deployment-target.diff
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Create target directory
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -d ${docdir} ${resourcesdir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Copy common files
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 -W ${docprimersdir}\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- primer.pdf\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sl.pdf\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- insidereduce.pdf ${docdir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 -W ${worksrcpath}/csl/reduce.doc\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- BSD-LICENSE.txt\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- LGPL-2.1.txt ${docdir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 {*}[glob ${docsrcdir}/${docbasename}*.tex] ${docdir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 {*}[glob ${docsrcdir}/${docbasename}*.html] ${docdir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 {*}[glob ${docsrcdir}/${docbasename}*.png] ${docdir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 -W ${docsrcdir}\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${docbasename}.pdf\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- index.html\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- redlogo.png\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${docbasename}.css ${docdir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 ${worksrcpath}/README ${docdir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 ${worksrcpath}/packages/package.map ${resourcesdir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/packages/plot/gnuintfc.red
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/generic/breduce/breduce.1
</span> }
<span style='display:block; white-space:pre;background:#e0ffe0;'>+use_parallel_build no
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-subport reduce-csl {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- license {BSD LGPL-2.1}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- revision 1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- description ${description} -- CSL version
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- long_description "${long_description}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This installs the Codemist Standard Lisp version of REDUCE.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patchfiles-append patch-csl-cslbase-crlibm-configure.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-csl-cslbase-print.c.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-csl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set builddir [exec ${worksrcpath}/scripts/findhost.sh [exec ${worksrcpath}/config.guess]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set cslbuilddir ${worksrcpath}/cslbuild/${builddir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Create target directories
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -d \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${libexecdir}/cslbuild/csl\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${sharedir}\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${fontdir}\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${resourcesdir}\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${mandir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Copy CSL files
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -p -W ${cslbuilddir}/csl\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reduce\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reduce.img\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- csl\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- csl.img ${libexecdir}/cslbuild/csl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ln -s ${prefix}/share/doc/${name} ${libexecdir}/cslbuild/csl/reduce.doc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ln -s ${prefix}/share/${name}/fonts ${libexecdir}/cslbuild/csl/reduce.fonts
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ln -s ${prefix}/share/${name}/resources ${libexecdir}/cslbuild/csl/reduce.resources
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ln -s ${prefix}/libexec/${name}/cslbuild ${sharedir}/cslbuild
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Font files
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- foreach f [glob -tails -directory ${cslbuilddir}/csl/reduce.fonts/ *] {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {![string equal $f "src"]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file copy ${cslbuilddir}/csl/reduce.fonts/$f ${fontdir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Resource files
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 -W ${cslbuilddir}/csl/reduce.resources\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- mma.awk\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- qepcad.awk ${resourcesdir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Copy man files
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 ${worksrcpath}/debianbuild/reduce/debian/redcsl.1 ${mandir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Shell script for running REDUCE
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall ${filespath}/runcsl.in ${bindir}/redcsl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|@LIBEXECDIR@|${prefix}/libexec/${name}|g" ${bindir}/redcsl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build-append port:automake \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:autoconf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libtool \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:netpbm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {[variant_isset doc]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:dvipng \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:texlive-fonts-extra \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:texlive-formats-extra \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:texlive-latex-extra \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:texlive-plain-generic \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:texlive-bin-extra \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:texlive-fonts-recommended
</span> }
<span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append port:libedit \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:xorg-libXcursor \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:Xft2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:xorg-libXrandr \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:fontconfig \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:freetype \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:ncurses
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_run-append port:gnuplot \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path:bin/latex:texlive
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.ldflags-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -lintl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # we have to run configure twice, once --with-csl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # and another time --with-psl, prior to building
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # this generates two different build directories
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # and both are built during the build phase
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # we do it like this to make it clear what is happening here...
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Technically portconfigure::configure_main is not part of the official exposed
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # MacPorts API, so theoretically it could change in the future and the port
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # would break... but it should work for now.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-csl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ portconfigure::configure_main
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace --with-csl --with-psl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ portconfigure::configure_main
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-subport reduce-psl {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- license BSD
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- revision 0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- description ${description} -- PSL version
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- long_description "${long_description}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This installs the Portable Standard Lisp version of REDUCE.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-psl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set builddir [exec ${worksrcpath}/scripts/findhost.sh [exec ${worksrcpath}/config.guess]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set pslbuilddir ${worksrcpath}/pslbuild/${builddir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # create target directories
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -d \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${libexecdir}/pslbuild/psl\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${libexecdir}/pslbuild/red\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${sharedir}\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${mandir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ### Create a second image after all (psl) modules have been built, with
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ### the final value of loaddirectories!*.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_debug "Saving a new image..."
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system "cd ${pslbuilddir}; exec ${worksrcpath}/psl/saveimage.sh\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${pslbuilddir} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${pslbuilddir}/red \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${prefix}/libexec/${name}/pslbuild"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # copy PSL files
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -p {*}[glob ${pslbuilddir}/psl/*] ${libexecdir}/pslbuild/psl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -p {*}[glob ${pslbuilddir}/red/*] ${libexecdir}/pslbuild/red
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ln -s ${prefix}/libexec/${name}/pslbuild ${sharedir}/pslbuild
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # copy man files
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 ${worksrcpath}/debianbuild/reduce/debian/redpsl.1 ${mandir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # shell script for running REDUCE
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall ${filespath}/runpsl.in ${bindir}/redpsl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|@LIBEXECDIR@|${prefix}/libexec/${name}|g" ${bindir}/redpsl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Documentation is also re-generated in the tree so that regardless of
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# history it should end up clean and organized.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-build {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[variant_isset doc]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath}/doc/misc ${build.cmd}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath}/doc/manual ${build.cmd}
</span> }
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-subport reduce-addons {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- license GPL
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- revision 1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- description Useful addons for the REDUCE Computer Algebra System
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- long_description "${description}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-These include:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reduce-mode, an emacs mode
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- redfront, a frontend with line editing and color output
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- breduce, a REDUCE batch processing utility"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append bin:makeinfo:texinfo
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- worksrcdir ${redfrontbuilddir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patchfiles-append patch-src-redline.c.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.cmd ./src/configure
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-libedit\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-package-map=${prefix}/share/${name}/resources/package.map\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-csl-reduce=${prefix}/libexec/${name}/cslbuild/csl/reduce\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-bpsl=${prefix}/libexec/${name}/pslbuild/psl/bpsl\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-reduce-img=${prefix}/libexec/${name}/pslbuild/red/reduce.img
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- post-patch {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|/usr/share/doc/reduce-addons|${prefix}/share/doc/reduce-addons|g"\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${genericdir}/breduce/breduce.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set builddir [exec ${worksrcpath}/scripts/findhost.sh [exec ${worksrcpath}/config.guess]]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set cslbuilddir ${worksrcpath}/cslbuild/${builddir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set pslbuilddir ${worksrcpath}/pslbuild/${builddir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set genericdir ${worksrcpath}/generic
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set sharedir ${prefix}/share/${subport}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set libexecdir ${prefix}/libexec/${subport}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set bindir ${prefix}/bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set mandir ${prefix}/share/man/man1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Create target directories
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${sharedir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${libexecdir}/csl \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${libexecdir}/psl/psl \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${libexecdir}/psl/red \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${applications_dir}/${subport}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Manual files
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${filespath}/redcsl.1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${filespath}/redpsl.1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${genericdir}/newfront/redfront.1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${mandir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s ${prefix}/share/man/man1/redfront.1 ${destroot}${mandir}/rfcsl.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s ${prefix}/share/man/man1/redfront.1 ${destroot}${mandir}/rfpsl.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # CSL files
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach d {reduce bootstrapreduce csl} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${cslbuilddir}/csl/${d}.app ${destroot}${libexecdir}/csl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s ${prefix}/libexec/${subport}/csl/${d}.app \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${applications_dir}/${subport}/${d}.app
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>- pre-configure {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system -W ${redfrontbuilddir} "${build.cmd} maintainer-clean"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system -W ${redfrontsrcdir} "autoconf ; autoheader"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${filespath}/runcsl.sh ${destroot}${bindir}/redcsl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${filespath}/runbootstrapreduce.sh ${destroot}${bindir}/bootstrapreduce
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${filespath}/runcsllisp.sh ${destroot}${bindir}/csl
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- post-build {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system -W ${genericdir}/emacs "makeinfo reduce-ide.texinfo"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach f {redcsl bootstrapreduce csl} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file attributes ${destroot}${bindir}/${f} -permissions +x
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>- destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # create target directories
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -d \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${addondocdir}\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${mandir}\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${sitelispdir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # copy addons
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 ${redfrontsrcdir}/README ${addondocdir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 -W ${genericdir}/breduce\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- breduce.bbl\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- breduce.pdf\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- breduce.tex ${addondocdir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 ${redfrontsrcdir}/redfront.1 ${mandir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ln -s ${prefix}/share/man/man1/redfront.1 ${mandir}/rfcsl.1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ln -s ${prefix}/share/man/man1/redfront.1 ${mandir}/rfpsl.1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 ${genericdir}/breduce/breduce.1 ${mandir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall ${redfrontbuilddir}/redfront ${bindir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ln -s ${prefix}/bin/redfront ${bindir}/rfcsl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ln -s ${prefix}/bin/redfront ${bindir}/rfpsl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall ${genericdir}/breduce/breduce ${bindir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 -W ${genericdir}/emacs\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reduce-ide.info\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reduce-ide.texinfo ${addondocdir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 -W ${genericdir}/emacs \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reduce-mode.el \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reduce-run.el \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${sitelispdir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${cslbuilddir}/redfront/rfcsl ${destroot}${bindir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # PSL files
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy {*}[glob ${pslbuilddir}/psl/*] ${destroot}${libexecdir}/psl/psl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy {*}[glob ${pslbuilddir}/red/*] ${destroot}${libexecdir}/psl/red
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${filespath}/runpsl.sh ${destroot}${bindir}/redpsl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file attributes ${destroot}${bindir}/redpsl -permissions +x
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Note (ha ha) that rfpsl is built in the cslbuild part of the tree.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${cslbuilddir}/redfront/rfpsl ${destroot}${bindir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set docdir ${prefix}/share/doc/${subport}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${destroot}${docdir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0644 -W ${worksrcpath}/csl/reduce.doc \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ BINARY-LICENSE.txt \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ BSD-LICENSE.txt \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LGPL-2.1.txt \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${docdir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # install breduce
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${worksrcpath}/generic/breduce/breduce ${destroot}/${libexecdir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${worksrcpath}/packages/breduce/breduce.red ${destroot}/${libexecdir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s ${prefix}/libexec/reduce/breduce ${destroot}${prefix}/bin/breduce
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${worksrcpath}/generic/breduce/breduce.1 ${destroot}/${mandir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0644 -W ${worksrcpath}/generic/breduce \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ breduce.bbl\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ breduce.pdf\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ breduce.tex \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${docdir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Install documentation if requested
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[variant_isset doc]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set docsrcdir ${worksrcpath}/doc/manual
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set docmiscdir ${worksrcpath}/doc/misc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set docbasename manual
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set extradocimagebasenames {bild cmsy10 gnuplotex turtleeg}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${destroot}${docdir}/html ${destroot}${docdir}/pdf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {*}[glob ${docmiscdir}/*.pdf] \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${docsrcdir}/${docbasename}.pdf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${docdir}/pdf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${docsrcdir}/redlogo.png \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {*}[glob ${docsrcdir}/${docbasename}*.html] \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {*}[glob ${docsrcdir}/${docbasename}*.png] \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${docsrcdir}/${docbasename}.css \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${docsrcdir}/index.html \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${docdir}/html
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach n ${extradocimagebasenames} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy {*}[glob ${docsrcdir}/${n}*.png] ${destroot}${docdir}/html
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
<span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- notes-append "
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-REDUCE edit mode is provided by a file called 'reduce-mode.el'. This file\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-is installed in ${prefix}/share/emacs/site-lisp/${name}. To automatically\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-load this file, put the following lines in your '.emacs' file:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-\(autoload ’reduce-mode \"reduce-mode\" \"Major mode for REDUCE code editing\" t)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-;; Automatically start .red files in reduce mode.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-\(add-to-list ’auto-mode-alist ’(\"\\\.red\\\’\" . reduce-mode))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant doc description {Install HTML and PDF documentation} {}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-Installation of REDUCE run mode is documented separately. See\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-'${prefix}/share/doc/reduce-addons/reduce-ide.info'.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.version ${version_dashes}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.url https://sourceforge.net/projects/reduce-algebra/files/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.regex {snapshot_(\d{4}-\d{2}-\d{2})}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/reduce/files/patch-csl-cslbase-crlibm-configure.diff b/math/reduce/files/patch-csl-cslbase-crlibm-configure.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 48fe570..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/reduce/files/patch-csl-cslbase-crlibm-configure.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,11 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- csl/cslbase/crlibm/configure.orig 2015-11-16 20:19:32.000000000 -0600
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ csl/cslbase/crlibm/configure 2015-11-17 12:25:05.000000000 -0600
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -2761,7 +2761,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- $as_echo "$MKDIR_P" >&6; }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--for ac_prog in gawk mawk nawk awk
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+for ac_prog in gawk mawk awk
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- do
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Extract the first word of "$ac_prog", so it can be a program name with args.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set dummy $ac_prog; ac_word=$2
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/reduce/files/patch-csl-cslbase-print.c.diff b/math/reduce/files/patch-csl-cslbase-print.c.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index af4452f..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/reduce/files/patch-csl-cslbase-print.c.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,11 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- csl/cslbase/print.c.orig 2015-11-22 12:53:01.000000000 -0600
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ csl/cslbase/print.c 2015-11-22 12:54:34.000000000 -0600
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -102,7 +102,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- *
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- * The 1999 C standard introduced vsnprintf and solves this worry!
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- */
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--#define VPRINTF_CHUNK 256
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#define VPRINTF_CHUNK 2048
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- void ensure_screen()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/reduce/files/patch-generic-breduce-breduce.1.diff b/math/reduce/files/patch-generic-breduce-breduce.1.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..6540880
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/reduce/files/patch-generic-breduce-breduce.1.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- generic/breduce/breduce.1.orig 2018-09-30 23:27:15.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ generic/breduce/breduce.1 2018-09-30 23:29:25.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -14,6 +14,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ of reduce switches and a mechanism for limiting the runtime
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ of the single computations.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ .SH "SEE ALSO"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-The documentation can be found in /usr/share/doc/reduce-addons/breduce.pdf.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++The documentation can be found in @PREFIX@/share/doc/breduce/breduce.pdf.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ .SH AUTHOR
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Copyright (C) 2008, 2011 T. Sturm
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/reduce/files/patch-packages-plot-gnuintfc.red.diff b/math/reduce/files/patch-packages-plot-gnuintfc.red.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..3ce6e7c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/reduce/files/patch-packages-plot-gnuintfc.red.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,20 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- packages/plot/gnuintfc.red.orig 2017-06-21 16:41:58.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ packages/plot/gnuintfc.red 2018-09-23 22:13:27.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -127,7 +127,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ("vt102" . "tek40xx")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- plotcommand!* := find!-gnuplot();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ plotcommand!* := "@PREFIX@/bin/gnuplot";
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ plotcleanup!* := % delete scratch files
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {bldmsg("rm %wplotdt*",plottmp!*),bldmsg("rm %wplotcmds*",plottmp!*)};
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -258,7 +258,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ !*plotusepipe := t;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ % find-gnuplot returns the full name of a version of gnuplot (if it can
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ % find one).
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- plotcommand!* := find!-gnuplot();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ plotcommand!* := "@PREFIX@/bin/gnuplot";
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ % The Cygwin case can be "funny" here, and the case I wish to trap is
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ % where a Cygwin version of Reduce is trying to use the native Windows
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ % version of gnuplot. I believe I can detect this by seeing of
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/reduce/files/patch-reduce-deployment-target.diff b/math/reduce/files/patch-reduce-deployment-target.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..62c188a
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/reduce/files/patch-reduce-deployment-target.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,84 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git configure.ac configure.ac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index f5df45a..78aa45b 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.ac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure.ac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1227,7 +1227,7 @@ then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case $host in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ *darwin* | *Darwin*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- CPPFLAGS="$CPPFLAGS -mmacosx-version-min=10.9 -I/opt/local/include"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ CPPFLAGS="$CPPFLAGS -I/opt/local/include"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LDFLAGS="$LDFLAGS -L/opt/local/lib"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ esac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git csl/configure.ac csl/configure.ac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 60c3612..b19595b 100755
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- csl/configure.ac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ csl/configure.ac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -838,12 +838,6 @@ then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ esac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if test "x$macintosh_build" = "xyes"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ENVP=MACOSX_DEPLOYMENT_TARGET=10.10
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- CC="$ENVP $CC"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- CXX="$ENVP $CXX"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # I will check this again right at the end.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ save_cross=cross_compiling
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git csl/cslbase/configure.ac csl/cslbase/configure.ac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index c0184c9..ef18046 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- csl/cslbase/configure.ac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ csl/cslbase/configure.ac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1527,11 +1527,6 @@ then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # macports stuff is liable to need rebuilding or re-installing so as to
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # avoid moans about version support conflicts when things are linked.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ENVP="MACOSX_DEPLOYMENT_TARGET=10.10"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- CC="$ENVP $CC"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- CXX="$ENVP $CXX"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- CPP="$ENVP $CPP"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- CXXCPP="$ENVP $CXXCPP"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # The eccentric code here insists that I use the "macports" version
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # of many libraries and it links in the .a files not the .dyld ones so
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # that the resulting executable is easier to distribute. If that is not done
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git csl/fox/configure.ac csl/fox/configure.ac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 65974a9..f2c0837 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- csl/fox/configure.ac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ csl/fox/configure.ac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -403,15 +403,6 @@ fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AC_CHECK_HEADERS([unistd.h])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-case $host_os in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- *darwin*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-# I should review this annually since OSX tends not to value backwards
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-# compatibility!
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- CC="MACOSX_DEPLOYMENT_TARGET=10.10 $CC"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- CXX="MACOSX_DEPLOYMENT_TARGET=10.10 $CXX"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-esac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AM_CONDITIONAL(xp64, test "x$mingw64" = "xyes")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AM_CONDITIONAL(cygwinshell, test "x$win32" = "xyes")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AM_CONDITIONAL(canrun, test "x$cross_compiling" != "xyes")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git csl/foxtests/configure.ac csl/foxtests/configure.ac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 33ead40..4842fc1 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- csl/foxtests/configure.ac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ csl/foxtests/configure.ac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -776,13 +776,6 @@ then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ esac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if test "x$macintosh_build" = "xyes"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ENVP=MACOSX_DEPLOYMENT_TARGET=10.10
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- CC="$ENVP $CC"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- CXX="$ENVP $CXX"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AC_CHECK_PROGS(CYGPATH,[cygpath],[no])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AC_OUTPUT
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/reduce/files/patch-src-redline.c.diff b/math/reduce/files/patch-src-redline.c.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index a4a4f6b..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/reduce/files/patch-src-redline.c.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,38 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- src/redline.c.orig 2014-08-07 08:34:58.000000000 -0500
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ src/redline.c 2014-11-01 13:43:27.000000000 -0500
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -63,7 +63,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- int fn_complete(EditLine *,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- char *(*)(const char *, int),
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- char **(*)(const char *, int, int),
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- const char *, const char *, const char *(*)(const char *), size_t,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ const wchar_t *, const wchar_t *, const char *(*)(const char *), size_t,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- int *, int *, int *, int *);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- void fn_display_match_list(EditLine *, char **, size_t, size_t);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -84,7 +84,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- static HistEvent ev;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- static char line_prompt[50];
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--static char line_break_chars[] = {' ', '\t', '\n', '"', '\\', '\'', '`', '@',
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+static wchar_t line_break_chars[] = {' ', '\t', '\n', '"', '\\', '\'', '`', '@',
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- '$', '>', '<', '=', ';', '|', '&', '{', '(',
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ',', '\0'};
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -96,7 +96,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- char *line_get_rprompt(EditLine *);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- unsigned char line_complete(EditLine *,int);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- unsigned char line_fn_complete(EditLine *,char *(*)(const char *, int),
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- const char *, const char *(*)(const char *),
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ const wchar_t *, const char *(*)(const char *),
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size_t);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- char *line_filename_completion_function(const char *, int);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- const char *line_append_char_function(const char *);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -207,7 +207,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- unsigned char line_fn_complete(EditLine *el,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- char *(*complet_func)(const char *, int),
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- const char *word_break,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ const wchar_t *word_break,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- const char *(*app_func)(const char *),
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size_t query_items) {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return (unsigned char )fn_complete(el,
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/reduce/files/redcsl.1 b/math/reduce/files/redcsl.1
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..0510662
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/reduce/files/redcsl.1
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,253 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.TH REDCSL 1 "2010 October 10" "redcsl"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.SH NAME
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+redcsl \- Run REDUCE under CSL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.SH Synopsis
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.B redcsl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+[
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.I command-line switches
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+] [
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.I file ...\&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.SH DESCRIPTION
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.I redcsl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+runs REDUCE based on the
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.BR CSL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Lisp system.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.SH REDCSL Options
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.TP
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.I file
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+read input from file.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+After all other options have been processed, the files given on the rest of
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+the command line are read in and processed. A filename of
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.B -
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+can be used to designate standard input.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.TP
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.B -b [OIP]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+tells the system to avoid any attempt to recolour prompts and input text.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+It will mainly be needed on X terminals that have been set up so that they
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use colours that make the defaults here unhelpful, like white-on-black.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+This option can be followed by colour specifications to make things yet
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+more specific. It is supposed to be the idea that three colours can be
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+specified after it for output, input and prompts, with the letters KRGYbMCW
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+standing for blacK, Red, Green, Yellow, blue, Magenta, Cyan and White.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+This may not fully work yet!
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.TP
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.BI -d " symbol[=value]"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+defines Lisp symbol
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.I symbol
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+at system start, with value
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.I value
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.TP
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.B -g
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+enables debugging mode. It sets a lisp variable
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.SB !*backtrace
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+and arranges that all backtraces are displayed notwithstanding use of
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.SB errorset.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.TP
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.BI \-i " imagefile\fR,\fP " \-i-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+CSL and Reduce use image files to keep both initial heap images and
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.I fasl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+loadable modules. By default if the executable launched has some name,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+say xxx, then an image file xxx.img is used. But to support greater
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+generality
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.B -i
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+introduces a new image,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.B -i-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+indicates the default one and a sequence of such directives list
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+image files that are searched in the order given. These are read-only.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+The similar option
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.B -o
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+equally introduces image files that are scanned for input, but that
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+can also be used for output. Normally there would only be one
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.B -o
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+directive.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.TP
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.BI -j " dumpfile"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+dumps a record of all the files read during the Lisp run into
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.I dumpfile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+with a view that it can be included in a Makefile to document dependencies.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.TP
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.BI -k " nnn[/ss]"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+sets the size of the heap to be used. If
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.BI -k nnn
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+is given then that much
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+memory will be allocated and the heap will never expand. Without this
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+option a default amount is used, and (on many machines) it will grow
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if space seems tight.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+If this options is given as
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.B -k
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.I nnn/ss
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+then ss is the number of CSL pages to be allocated to the Lisp stack.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+The default value (which is 1) should suffice for almost all users, and
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+it should be noted that the C stack is separate from and independent of
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+this one and it too could overflow.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+A suffix K, M or G on the number indicates units of kilobytes,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+megabytes or gigabytes, with megabytes being the default. so
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.B -k200M
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+might represent typical usage.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.TP
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.BI -l " logfile"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+sends a copy of the standard output to
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.I logfile\fR.\fP
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+It is very much as if the Lisp function
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.SB (spool logfile)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+had been invoked at the start of the run.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.TP
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.B -n
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ignore startup function.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Normally when the system is started it will run a
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.I restart function
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+as indicated in its heap image. There can be cases where a heap image has
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+been created in a bad way such that the saved restart function always fails
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+abruptly, and hence working out what was wrong becomes hard. In such cases
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+it may be useful to give the
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.B -n
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+options that forces CSL to ignore any startup function and merely begin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+in a minimal Lisp-style read-eval-print loop.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.TP
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.B -o
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+see
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.B -i
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.TP
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.B -q
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+quiet run: sets
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.SB !*echo
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+to
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.SB nil
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+and switches off garbage collector messages.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.TP
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.BI -r " nnn[,mmm]"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+seed random number generator.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+The random-number generator in CSL is normally initialised to a value
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+based on the time of day and is hence not reproducible from run to run.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+In many cases that behavious is desirable, but for debugging it can be useful
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+to force a seed. The directive
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.B -r
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.I nnn[,mmm]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+sets the seed to up to 64 bits taken from the values
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.I nnn
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+and
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.I mmm.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+THe second value is optional, and specifying
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.B -r0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+explicitly asks for the non-reproducible behaviour (I hope). Note that
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+the main Reduce-level random number source is coded at a higher level
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+and does not get reset this way - this is the lower level CSL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+generator.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.TP
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.B -s
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+sets the Lisp variable
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.SB !*plap
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+and hence the compiler generates an assembly listing.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.TP
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.BI -t " name"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+reports the time-stamp on the named module, and then exits. This is
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+for use in perl scripts and the like, and is needed because the stamps
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+on modules within an image or library file are not otherwise instantly
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+available.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Note that especially on windowed systems it may be necessary to use
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+this with
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.BI -- " filename"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+since the information generated here goes to the default output, which
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+in some cases is just the screen.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.TP
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.BI -u " symbol"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+forcibly undefine a Lisp symbol. There are probably very very few
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+cases where it is useful since I do not have a large number of
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+system-specific predefined names.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.TP
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.B -v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+An option to make things mildly more verbose. It displays more of a
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+banner at startup and switches garbage collection messages on.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.TP
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.B -w
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+force console mode.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+On a typical system if the system is launched it creates a new window and uses
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+its own windowed intarface in that. If it is run such that at startup the
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+standard input or output are associated with a file or pipe, or under X the
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variable
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.SB DISPLAY
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+is not set it will try to start up in console
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+mode. The flag
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.B -w
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+indicates that the system should run in console
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+more regadless, while
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.B -w+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+attempts a window even if that seems doomed to failure. When running
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+the system to obey a script it will often make sense to use the
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.B -w
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+option. Note that on Windows the system is provided as
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+two separate (but almost identical) binaries. For example the file
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.SB csl.exe
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+is linked in windows mode. A result is that if launched from the
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+command line it detaches from its console, and if launched by
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+double-clicking it does not create a console. It is in fact very ugly
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+when double clicking on an application causes an unwanted console
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+window to appear. In contrast
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.SB csl.com
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+is a console mode version of just the same program, so when launched
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+from a command line it can communicate with the console in the
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ordinary expected manner.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.TP
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.B -z
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+start without image.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+When bootstrapping it is necessary to start up the system for one initial time
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+without the benefit of any image file at all. This option makes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+this happen, so when it is specified the system starts up with a minimal
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+environment and only those capabilities that are present in the CSL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+kernel. It will normally make sense to start loading some basic Lisp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+definitions rather rapidly. The files
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.SB compat.lsp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.SB extras.lsp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+and
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.SB compiler.lsp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+have Lisp source for the main things I use, and once they are loaded
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+the Lisp compiler can be used to compile itself.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.TP
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.B --help
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+It is probably obvious what this option does! But in particular it
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+displays an explanation of the
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.B --dump-source
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+option, and hence should count as a prominent and easy-to-find way of
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+alerting people to their rights and obligations. Note that on Windows
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+of the application was linked as a windows binary it carefully creates
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+a console to display the help text in, and organizes a delay to give
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+people a chance to read it.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.TP
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.BI -- " filename"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+If the application is run in console mode then its standard output could
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+be redirected to a file using shell facilities. But the
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.B --
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+directive (followed by a file name) redirects output within the Lisp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+rather than outside it. If this is done a very limited capability for
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+sending progress or status reports to stderr (or the title-bar when
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+running in windowed mode) remains via the
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.SB report!-right
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+function.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+The
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.B -w
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+option may frequently make sense in such cases, but if that
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+is not used and the system tries to run in a window it will create it
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+starting off minimised.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/reduce/files/redpsl.1 b/math/reduce/files/redpsl.1
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..6938cd6
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/reduce/files/redpsl.1
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,18 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.TH REDCSL 1 "2010 October 10" "redcsl"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.SH NAME
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+redcsl \- Run REDUCE under PSL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.SH Synopsis
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.B redcsl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.SH DESCRIPTION
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.I redpsl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+runs REDUCE based on the
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.BR PSL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Lisp system.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/reduce/files/runbootstrapreduce.sh b/math/reduce/files/runbootstrapreduce.sh
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..3074067
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/reduce/files/runbootstrapreduce.sh
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#! /bin/sh
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+MYDIR=`dirname $0`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+export MYDIR
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+CSLDIR="$(cd $MYDIR/../libexec/reduce/csl && pwd -P)"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+exec $CSLDIR/bootstrapreduce.app/Contents/MacOS/bootstrapreduce "$@"
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/reduce/files/runcsl.in b/math/reduce/files/runcsl.in
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index b4f040a..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/reduce/files/runcsl.in
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,4 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#! /bin/sh
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-exec @LIBEXECDIR@/cslbuild/csl/reduce $*
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/reduce/files/runcsl.sh b/math/reduce/files/runcsl.sh
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..3100ceb
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/reduce/files/runcsl.sh
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#! /bin/sh
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+MYDIR=`dirname $0`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+export MYDIR
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+CSLDIR="$(cd $MYDIR/../libexec/reduce/csl && pwd -P)"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+exec $CSLDIR/reduce.app/Contents/MacOS/reduce "$@"
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/reduce/files/runcsllisp.sh b/math/reduce/files/runcsllisp.sh
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..db12390
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/reduce/files/runcsllisp.sh
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#! /bin/sh
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+MYDIR=`dirname $0`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+export MYDIR
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+CSLDIR="$(cd $MYDIR/../libexec/reduce/csl && pwd -P)"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+exec $CSLDIR/csl.app/Contents/MacOS/csl "$@"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/reduce/files/runpsl.in b/math/reduce/files/runpsl.in
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index a950c6d..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/reduce/files/runpsl.in
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,16 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#! /bin/sh
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-case `uname -m` in
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-i*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- STORE=16000000
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-x86_64)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- STORE=1000
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-esac
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-bin="@LIBEXECDIR@/pslbuild/psl/bpsl"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-img="@LIBEXECDIR@/pslbuild/red/reduce.img"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-exec $bin -td $STORE -f $img $*
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/reduce/files/runpsl.sh b/math/reduce/files/runpsl.sh
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..32b3ae5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/reduce/files/runpsl.sh
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,19 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#! /bin/sh
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+case `uname -m` in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+i*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ STORE=16000000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+x86_64)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ STORE=1000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+esac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+MYDIR=`dirname $0`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+export MYDIR
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PSLDIR="$(cd $MYDIR/../libexec/reduce/psl && pwd -P)"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin="$PSLDIR/psl/bpsl"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+img="$PSLDIR/red/reduce.img"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+exec $bin -td $STORE -f $img $@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>