<pre style='margin:0'>
Frank Schima (mf2k) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/c98628e4a2fb7142038602b9a3b4f6ab64f65833">https://github.com/macports/macports-ports/commit/c98628e4a2fb7142038602b9a3b4f6ab64f65833</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit c98628e4a2fb7142038602b9a3b4f6ab64f65833
</span>Author: Allan Que <allan.que@gmail.com>
AuthorDate: Thu Jul 4 10:08:40 2019 -0500
<span style='display:block; white-space:pre;color:#404040;'> nonpareil: fix scons build and add license
</span>---
emulators/nonpareil/Portfile | 6 +-
emulators/nonpareil/files/patch-sconstruct.diff | 82 +++++++++++++++++++++++++
2 files changed, 86 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/emulators/nonpareil/Portfile b/emulators/nonpareil/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 57f3937..4ab3ba3 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/emulators/nonpareil/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/emulators/nonpareil/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,9 +5,10 @@ PortSystem 1.0
</span>
name nonpareil
version 0.79
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 6
</span> platforms darwin
categories emulators
<span style='display:block; white-space:pre;background:#e0ffe0;'>+license GPL-2
</span> maintainers nomaintainer
description a high-fidelity simulator for calculators.
long_description Nonpareil is a high-fidelity simulator for calculators. \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -58,7 +59,8 @@ depends_build port:bison \
</span>
patchfiles osx.patch \
patch-src-printer.c.diff \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-src-util.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-src-util.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-sconstruct.diff
</span>
use_parallel_build yes
use_configure no
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/emulators/nonpareil/files/patch-sconstruct.diff b/emulators/nonpareil/files/patch-sconstruct.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..89f5222
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/emulators/nonpareil/files/patch-sconstruct.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,82 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- SConstruct 2008-08-23 19:37:34.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ SConstruct 2019-07-04 09:06:34.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -27,57 +27,57 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Options
</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;'>+-opts = Options (conf_file)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++opts = Variables (conf_file)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-opts.AddOptions (EnumOption ('host',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++opts.Add (EnumVariable ('host',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ help = 'host build platform',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ allowed_values = ('posix', 'win32'),
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default = 'posix',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ignorecase = 1),
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ignorecase = 1))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- EnumOption ('target',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++opts.Add (EnumVariable ('target',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ help = 'execution target platform',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ allowed_values = ('posix', 'win32'),
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default = 'posix',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ignorecase = 1),
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ignorecase = 1))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- PathOption ('prefix',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++opts.Add (PathVariable ('prefix',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 'installation path prefix',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- '/usr/local'),
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ '/usr/local'))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Don't use PathOption for other paths, because we don't
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # require the directories to preexist.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ('bindir',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++opts.Add ('bindir',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 'path for executable files (default is $prefix/bin)',
</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;'>+- ('libdir',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++opts.Add ('libdir',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 'path for library files (default is $prefix/lib/nonpareil)',
</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;'>+- ('destdir',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++opts.Add ('destdir',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 'installation virtual root directory (for packaging)',
</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;'>+- BoolOption ('debug',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++opts.Add (BoolVariable ('debug',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ help = 'compile for debugging',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- default = 1),
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ default = 1))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Feature switches:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- BoolOption ('has_debugger_gui',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++opts.Add (BoolVariable ('has_debugger_gui',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ help = 'enable debugger GUI interface',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- default = 0),
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ default = 0))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- BoolOption ('has_debugger_cli',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++opts.Add (BoolVariable ('has_debugger_cli',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ help = 'enable debugger command-line interface',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- default = 0),
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ default = 0))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- BoolOption ('use_tcl',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++opts.Add (BoolVariable ('use_tcl',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ help = 'use Tcl as debug command interpreter (only when debugger CLI is enabled)',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- default = 1), # only if has_debugger_cli
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ default = 1)) # only if has_debugger_cli
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- BoolOption ('use_readline',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++opts.Add (BoolVariable ('use_readline',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ help = 'use Readline library for command editing and history (only when debugger CLI is enabled)',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default = 1)) # only if has_debugger_cli
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>