<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[142633] trunk/dports/math/reduce/Portfile</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="https://trac.macports.org/changeset/142633">142633</a></dd>
<dt>Author</dt> <dd>ryandesign@macports.org</dd>
<dt>Date</dt> <dd>2015-11-17 16:19:41 -0800 (Tue, 17 Nov 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>reduce: update to 20141130 (#49729; maintainer)</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdportsmathreducePortfile">trunk/dports/math/reduce/Portfile</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportsmathreducePortfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/math/reduce/Portfile (142632 => 142633)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/math/reduce/Portfile        2015-11-17 23:52:43 UTC (rev 142632)
+++ trunk/dports/math/reduce/Portfile        2015-11-18 00:19:41 UTC (rev 142633)
</span><span class="lines">@@ -4,22 +4,18 @@
</span><span class="cx"> PortSystem              1.0
</span><span class="cx"> 
</span><span class="cx"> name                    reduce
</span><del>-version                 20141022
-svn.revision            2744
</del><ins>+# snapshot of the REDUCE development, dated Nov 30,2014 (svn revision 2855)
+version                 20141130
+set version_dashes      [regsub {^(\d{4})(\d{2})(\d{2})$} ${version} {\1-\2-\3}]
</ins><span class="cx"> categories              math
</span><span class="cx"> platforms               darwin
</span><span class="cx"> maintainers             gmail.com:mark.brethen openmaintainer
</span><del>-
</del><span class="cx"> # The BULK of the files are subject to the (modified) BSD license.
</span><span class="cx"> # There are some components that are subject to more restrictive
</span><span class="cx"> # terms (notably the FOX GUI Toolkit, used in one version of the
</span><span class="cx"> # code, is under LGPL).
</span><span class="cx"> # See http://sourceforge.net/p/reduce-algebra/code/HEAD/tree/trunk/README
</span><span class="cx"> license                 BSD LGPL-2.1
</span><del>-fetch.type              svn
-svn.url                 http://svn.code.sf.net/p/reduce-algebra/code/trunk
-svn.args-append         --depth files
-worksrcdir              trunk
</del><span class="cx"> 
</span><span class="cx"> description             REDUCE Computer Algebra System
</span><span class="cx"> 
</span><span class="lines">@@ -29,6 +25,11 @@
</span><span class="cx">     large number of additional packages.
</span><span class="cx"> 
</span><span class="cx"> homepage                http://reduce-algebra.sourceforge.net/
</span><ins>+master_sites            sourceforge:project/reduce-algebra/Snapshot_${version_dashes}
+distname                reduce-src-${version_dashes}
+use_bzip2               yes
+checksums               rmd160  b08512ea6bc8900a3a557c85d0576be640489202 \
+                        sha256  b15debc944475d4daee1bcbdbaff415693522306785507f2d3110d75df6e7006
</ins><span class="cx"> 
</span><span class="cx"> depends_lib-append \
</span><span class="cx">     port:libedit\
</span><span class="lines">@@ -97,6 +98,11 @@
</span><span class="cx">         puts $docfile &quot;${long_description}\n&quot;
</span><span class="cx">         close $docfile
</span><span class="cx">     }
</span><ins>+
+    livecheck.version       ${version_dashes}
+    livecheck.regex         {reduce-src-(\d{4}-\d{2}-\d{2})}
+} else {
+    livecheck.type          none
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> subport reduce-common {
</span><span class="lines">@@ -112,42 +118,15 @@
</span><span class="cx">     build.dir               ${worksrcpath}/doc/manual
</span><span class="cx">     # Build errors were caused by broken symlinks in the texlive-bin port.
</span><span class="cx">     # Fixed in r142269.
</span><del>-    depends_lib-append \
-        bin:makeindex:texlive-basic\
-        bin:pdftex:texlive-basic\
-        bin:mk4ht:texlive-htmlxml\
-        bin:htlatex:texlive-htmlxml
</del><ins>+    depends_build-append \
+        port:texlive-basic\
+        port:texlive-htmlxml\
+        port:dvipng
</ins><span class="cx"> 
</span><span class="cx">     patch {
</span><span class="cx">         reinplace &quot;s|'\${JOBNAME}'|'\&quot;\${JOBNAME}\&quot;'|g&quot; ${docsrcdir}/mkhtml.sh
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    post-fetch {
-        set urlfrom {
-            http://svn.code.sf.net/p/reduce-algebra/code/trunk/csl/reduce.doc/BSD-LICENSE.txt\
-                http://svn.code.sf.net/p/reduce-algebra/code/trunk/csl/reduce.doc/LGPL-2.1.txt\
-                http://svn.code.sf.net/p/reduce-algebra/code/trunk/doc/manual\
-                http://svn.code.sf.net/p/reduce-algebra/code/trunk/doc/primers\
-                http://svn.code.sf.net/p/reduce-algebra/code/trunk/packages/package.map
-        }
-
-        set pathto [list ${worksrcdir}/csl/reduce.doc\
-                        ${worksrcdir}/csl/reduce.doc\
-                        ${worksrcdir}/doc/manual\
-                        ${worksrcdir}/doc/primers\
-                        ${worksrcdir}/packages
-                    ]
-        
-        foreach u $urlfrom p $pathto {
-            set cmdstring &quot;${svn.cmd} ${svn.method} -r ${svn.revision} --force $u . 2&gt;&amp;1&quot;
-            file mkdir ${workpath}/$p
-            ui_debug &quot;Executing ${cmdstring}&quot;
-            if {[catch {system -W ${workpath}/$p ${cmdstring}} -]} {
-                return -code error [msgcat::mc &quot;svn export failed&quot;]
-            }
-        }
-    }
-
</del><span class="cx">     pre-build {
</span><span class="cx">         system -W ${docsrcdir} &quot;${build.cmd} clean&quot;
</span><span class="cx">     }
</span><span class="lines">@@ -191,30 +170,6 @@
</span><span class="cx"> 
</span><span class="cx">     configure.args-append   --with-csl
</span><span class="cx"> 
</span><del>-    post-fetch {
-        set urlfrom {
-            http://svn.code.sf.net/p/reduce-algebra/code/trunk/csl\
-                http://svn.code.sf.net/p/reduce-algebra/code/trunk/debianbuild/reduce/debian/redcsl.1\
-                http://svn.code.sf.net/p/reduce-algebra/code/trunk/packages\
-                http://svn.code.sf.net/p/reduce-algebra/code/trunk/scripts
-        }
-
-        set pathto [list ${worksrcdir}/csl\
-                        ${worksrcdir}/debianbuild/reduce/debian\
-                        ${worksrcdir}/packages\
-                        ${worksrcdir}/scripts
-                   ]
-
-        foreach u $urlfrom p $pathto {
-            set cmdstring &quot;${svn.cmd} ${svn.method} -r ${svn.revision} --force $u . 2&gt;&amp;1&quot;
-            file mkdir ${workpath}/$p
-            ui_debug &quot;Executing ${cmdstring}&quot;
-            if {[catch {system -W ${workpath}/$p ${cmdstring}} -]} {
-                return -code error [msgcat::mc &quot;svn export failed&quot;]
-            }
-        }
-    }
-
</del><span class="cx">     destroot {
</span><span class="cx">         set builddir [exec ${worksrcpath}/scripts/findhost.sh [exec ${worksrcpath}/config.guess]]
</span><span class="cx">         set cslbuilddir ${worksrcpath}/cslbuild/${builddir}
</span><span class="lines">@@ -265,30 +220,6 @@
</span><span class="cx"> 
</span><span class="cx">     configure.args-append   --with-psl
</span><span class="cx"> 
</span><del>-    post-fetch {
-        set urlfrom {
-            http://svn.code.sf.net/p/reduce-algebra/code/trunk/psl\
-                http://svn.code.sf.net/p/reduce-algebra/code/trunk/debianbuild/reduce/debian/redpsl.1\
-                http://svn.code.sf.net/p/reduce-algebra/code/trunk/packages\
-                http://svn.code.sf.net/p/reduce-algebra/code/trunk/scripts
-        }
-
-        set pathto [list ${worksrcdir}/psl\
-                        ${worksrcdir}/debianbuild/reduce/debian\
-                        ${worksrcdir}/packages\
-                        ${worksrcdir}/scripts
-                   ]
-
-        foreach u $urlfrom p $pathto {
-            set cmdstring &quot;${svn.cmd} ${svn.method} -r ${svn.revision} --force $u . 2&gt;&amp;1&quot;
-            file mkdir ${workpath}/$p
-            ui_debug &quot;Executing ${cmdstring}&quot;
-            if {[catch {system -W ${workpath}/$p ${cmdstring}} -]} {
-                return -code error [msgcat::mc &quot;svn export failed&quot;]
-            }
-        }
-    }
-
</del><span class="cx">     destroot {
</span><span class="cx">         set builddir [exec ${worksrcpath}/scripts/findhost.sh [exec ${worksrcpath}/config.guess]]
</span><span class="cx">         set pslbuilddir ${worksrcpath}/pslbuild/${builddir}
</span><span class="lines">@@ -306,8 +237,8 @@
</span><span class="cx">            ${pslbuilddir}/red \
</span><span class="cx">            ${prefix}/libexec/${name}/pslbuild&quot;
</span><span class="cx">         # copy PSL files
</span><del>-        copy {*}[glob ${pslbuilddir}/psl/*] ${libexecdir}/pslbuild/psl
-        copy {*}[glob ${pslbuilddir}/red/*] ${libexecdir}/pslbuild/red
</del><ins>+        xinstall -p {*}[glob ${pslbuilddir}/psl/*] ${libexecdir}/pslbuild/psl
+        xinstall -p {*}[glob ${pslbuilddir}/red/*] ${libexecdir}/pslbuild/red
</ins><span class="cx">         ln -s ${prefix}/libexec/${name}/pslbuild ${sharedir}/pslbuild
</span><span class="cx">         # copy man files
</span><span class="cx">         xinstall -m 644 ${worksrcpath}/debianbuild/reduce/debian/redpsl.1 ${mandir}
</span><span class="lines">@@ -320,7 +251,7 @@
</span><span class="cx"> 
</span><span class="cx"> subport reduce-addons {
</span><span class="cx">     license                 GPL
</span><del>-    svn.dir                 ${workpath}
</del><ins>+
</ins><span class="cx">     description             Useful addons for the REDUCE Computer Algebra System
</span><span class="cx"> 
</span><span class="cx">     long_description        &quot;${description}
</span><span class="lines">@@ -345,27 +276,6 @@
</span><span class="cx">         --with-bpsl=${prefix}/libexec/${name}/pslbuild/psl/bpsl\
</span><span class="cx">         --with-reduce-img=${prefix}/libexec/${name}/pslbuild/red/reduce.img
</span><span class="cx"> 
</span><del>-    post-fetch {
-        set urlfrom {
-                http://svn.code.sf.net/p/reduce-algebra/code/trunk/bin\
-                    http://svn.code.sf.net/p/reduce-algebra/code/trunk/generic\
-                    http://svn.code.sf.net/p/reduce-algebra/code/trunk/scripts
-        }
-
-        set pathto [list ${svn.dir}/trunk/bin\
-                        ${svn.dir}/trunk/generic\
-                        ${svn.dir}/trunk/scripts
-                   ]
-        foreach u $urlfrom p $pathto {
-            set cmdstring &quot;${svn.cmd} ${svn.method} -r ${svn.revision} --force $u . 2&gt;&amp;1&quot;
-            file mkdir $p
-            ui_debug &quot;Executing ${cmdstring}&quot;
-            if {[catch {system -W $p ${cmdstring}} -]} {
-                return -code error [msgcat::mc &quot;svn export failed&quot;]
-            }
-        }
-    }
-
</del><span class="cx">     post-patch {
</span><span class="cx">         reinplace &quot;s|/usr/share/doc/reduce-addons|${prefix}/share/doc/reduce-addons|g&quot;\
</span><span class="cx">             ${genericdir}/breduce/breduce.1
</span></span></pre>
</div>
</div>

</body>
</html>