[142633] trunk/dports/math/reduce/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sat Dec 12 06:35:01 PST 2015
Revision: 142633
https://trac.macports.org/changeset/142633
Author: ryandesign at macports.org
Date: 2015-11-17 16:19:41 -0800 (Tue, 17 Nov 2015)
Log Message:
-----------
reduce: update to 20141130 (#49729; maintainer)
Modified Paths:
--------------
trunk/dports/math/reduce/Portfile
Modified: trunk/dports/math/reduce/Portfile
===================================================================
--- 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)
@@ -4,22 +4,18 @@
PortSystem 1.0
name reduce
-version 20141022
-svn.revision 2744
+# 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}]
categories math
platforms darwin
maintainers gmail.com:mark.brethen openmaintainer
-
# The BULK of the files are subject to the (modified) BSD license.
# There are some components that are subject to more restrictive
# terms (notably the FOX GUI Toolkit, used in one version of the
# code, is under LGPL).
# See http://sourceforge.net/p/reduce-algebra/code/HEAD/tree/trunk/README
license BSD LGPL-2.1
-fetch.type svn
-svn.url http://svn.code.sf.net/p/reduce-algebra/code/trunk
-svn.args-append --depth files
-worksrcdir trunk
description REDUCE Computer Algebra System
@@ -29,6 +25,11 @@
large number of additional packages.
homepage http://reduce-algebra.sourceforge.net/
+master_sites sourceforge:project/reduce-algebra/Snapshot_${version_dashes}
+distname reduce-src-${version_dashes}
+use_bzip2 yes
+checksums rmd160 b08512ea6bc8900a3a557c85d0576be640489202 \
+ sha256 b15debc944475d4daee1bcbdbaff415693522306785507f2d3110d75df6e7006
depends_lib-append \
port:libedit\
@@ -97,6 +98,11 @@
puts $docfile "${long_description}\n"
close $docfile
}
+
+ livecheck.version ${version_dashes}
+ livecheck.regex {reduce-src-(\d{4}-\d{2}-\d{2})}
+} else {
+ livecheck.type none
}
subport reduce-common {
@@ -112,42 +118,15 @@
build.dir ${worksrcpath}/doc/manual
# Build errors were caused by broken symlinks in the texlive-bin port.
# Fixed in r142269.
- depends_lib-append \
- bin:makeindex:texlive-basic\
- bin:pdftex:texlive-basic\
- bin:mk4ht:texlive-htmlxml\
- bin:htlatex:texlive-htmlxml
+ depends_build-append \
+ port:texlive-basic\
+ port:texlive-htmlxml\
+ port:dvipng
patch {
reinplace "s|'\${JOBNAME}'|'\"\${JOBNAME}\"'|g" ${docsrcdir}/mkhtml.sh
}
- 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 "${svn.cmd} ${svn.method} -r ${svn.revision} --force $u . 2>&1"
- file mkdir ${workpath}/$p
- ui_debug "Executing ${cmdstring}"
- if {[catch {system -W ${workpath}/$p ${cmdstring}} -]} {
- return -code error [msgcat::mc "svn export failed"]
- }
- }
- }
-
pre-build {
system -W ${docsrcdir} "${build.cmd} clean"
}
@@ -191,30 +170,6 @@
configure.args-append --with-csl
- 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 "${svn.cmd} ${svn.method} -r ${svn.revision} --force $u . 2>&1"
- file mkdir ${workpath}/$p
- ui_debug "Executing ${cmdstring}"
- if {[catch {system -W ${workpath}/$p ${cmdstring}} -]} {
- return -code error [msgcat::mc "svn export failed"]
- }
- }
- }
-
destroot {
set builddir [exec ${worksrcpath}/scripts/findhost.sh [exec ${worksrcpath}/config.guess]]
set cslbuilddir ${worksrcpath}/cslbuild/${builddir}
@@ -265,30 +220,6 @@
configure.args-append --with-psl
- 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 "${svn.cmd} ${svn.method} -r ${svn.revision} --force $u . 2>&1"
- file mkdir ${workpath}/$p
- ui_debug "Executing ${cmdstring}"
- if {[catch {system -W ${workpath}/$p ${cmdstring}} -]} {
- return -code error [msgcat::mc "svn export failed"]
- }
- }
- }
-
destroot {
set builddir [exec ${worksrcpath}/scripts/findhost.sh [exec ${worksrcpath}/config.guess]]
set pslbuilddir ${worksrcpath}/pslbuild/${builddir}
@@ -306,8 +237,8 @@
${pslbuilddir}/red \
${prefix}/libexec/${name}/pslbuild"
# copy PSL files
- copy {*}[glob ${pslbuilddir}/psl/*] ${libexecdir}/pslbuild/psl
- copy {*}[glob ${pslbuilddir}/red/*] ${libexecdir}/pslbuild/red
+ xinstall -p {*}[glob ${pslbuilddir}/psl/*] ${libexecdir}/pslbuild/psl
+ xinstall -p {*}[glob ${pslbuilddir}/red/*] ${libexecdir}/pslbuild/red
ln -s ${prefix}/libexec/${name}/pslbuild ${sharedir}/pslbuild
# copy man files
xinstall -m 644 ${worksrcpath}/debianbuild/reduce/debian/redpsl.1 ${mandir}
@@ -320,7 +251,7 @@
subport reduce-addons {
license GPL
- svn.dir ${workpath}
+
description Useful addons for the REDUCE Computer Algebra System
long_description "${description}
@@ -345,27 +276,6 @@
--with-bpsl=${prefix}/libexec/${name}/pslbuild/psl/bpsl\
--with-reduce-img=${prefix}/libexec/${name}/pslbuild/red/reduce.img
- 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 "${svn.cmd} ${svn.method} -r ${svn.revision} --force $u . 2>&1"
- file mkdir $p
- ui_debug "Executing ${cmdstring}"
- if {[catch {system -W $p ${cmdstring}} -]} {
- return -code error [msgcat::mc "svn export failed"]
- }
- }
- }
-
post-patch {
reinplace "s|/usr/share/doc/reduce-addons|${prefix}/share/doc/reduce-addons|g"\
${genericdir}/breduce/breduce.1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/75d18a6f/attachment-0001.html>
More information about the macports-changes
mailing list