Changeset 142633 for trunk/dports/math


Ignore:
Timestamp:
Nov 18, 2015, 12:19:41 AM (4 years ago)
Author:
ryandesign@…
Message:

reduce: update to 20141130 (#49729; maintainer)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/math/reduce/Portfile

    r142617 r142633  
    55
    66name                    reduce
    7 version                 20141022
    8 svn.revision            2744
     7# snapshot of the REDUCE development, dated Nov 30,2014 (svn revision 2855)
     8version                 20141130
     9set version_dashes      [regsub {^(\d{4})(\d{2})(\d{2})$} ${version} {\1-\2-\3}]
    910categories              math
    1011platforms               darwin
    1112maintainers             gmail.com:mark.brethen openmaintainer
    12 
    1313# The BULK of the files are subject to the (modified) BSD license.
    1414# There are some components that are subject to more restrictive
     
    1717# See http://sourceforge.net/p/reduce-algebra/code/HEAD/tree/trunk/README
    1818license                 BSD LGPL-2.1
    19 fetch.type              svn
    20 svn.url                 http://svn.code.sf.net/p/reduce-algebra/code/trunk
    21 svn.args-append         --depth files
    22 worksrcdir              trunk
    2319
    2420description             REDUCE Computer Algebra System
     
    3026
    3127homepage                http://reduce-algebra.sourceforge.net/
     28master_sites            sourceforge:project/reduce-algebra/Snapshot_${version_dashes}
     29distname                reduce-src-${version_dashes}
     30use_bzip2               yes
     31checksums               rmd160  b08512ea6bc8900a3a557c85d0576be640489202 \
     32                        sha256  b15debc944475d4daee1bcbdbaff415693522306785507f2d3110d75df6e7006
    3233
    3334depends_lib-append \
     
    9899        close $docfile
    99100    }
     101
     102    livecheck.version       ${version_dashes}
     103    livecheck.regex         {reduce-src-(\d{4}-\d{2}-\d{2})}
     104} else {
     105    livecheck.type          none
    100106}
    101107
     
    113119    # Build errors were caused by broken symlinks in the texlive-bin port.
    114120    # Fixed in r142269.
    115     depends_lib-append \
    116         bin:makeindex:texlive-basic\
    117         bin:pdftex:texlive-basic\
    118         bin:mk4ht:texlive-htmlxml\
    119         bin:htlatex:texlive-htmlxml
     121    depends_build-append \
     122        port:texlive-basic\
     123        port:texlive-htmlxml\
     124        port:dvipng
    120125
    121126    patch {
    122127        reinplace "s|'\${JOBNAME}'|'\"\${JOBNAME}\"'|g" ${docsrcdir}/mkhtml.sh
    123     }
    124 
    125     post-fetch {
    126         set urlfrom {
    127             http://svn.code.sf.net/p/reduce-algebra/code/trunk/csl/reduce.doc/BSD-LICENSE.txt\
    128                 http://svn.code.sf.net/p/reduce-algebra/code/trunk/csl/reduce.doc/LGPL-2.1.txt\
    129                 http://svn.code.sf.net/p/reduce-algebra/code/trunk/doc/manual\
    130                 http://svn.code.sf.net/p/reduce-algebra/code/trunk/doc/primers\
    131                 http://svn.code.sf.net/p/reduce-algebra/code/trunk/packages/package.map
    132         }
    133 
    134         set pathto [list ${worksrcdir}/csl/reduce.doc\
    135                         ${worksrcdir}/csl/reduce.doc\
    136                         ${worksrcdir}/doc/manual\
    137                         ${worksrcdir}/doc/primers\
    138                         ${worksrcdir}/packages
    139                     ]
    140        
    141         foreach u $urlfrom p $pathto {
    142             set cmdstring "${svn.cmd} ${svn.method} -r ${svn.revision} --force $u . 2>&1"
    143             file mkdir ${workpath}/$p
    144             ui_debug "Executing ${cmdstring}"
    145             if {[catch {system -W ${workpath}/$p ${cmdstring}} -]} {
    146                 return -code error [msgcat::mc "svn export failed"]
    147             }
    148         }
    149128    }
    150129
     
    191170
    192171    configure.args-append   --with-csl
    193 
    194     post-fetch {
    195         set urlfrom {
    196             http://svn.code.sf.net/p/reduce-algebra/code/trunk/csl\
    197                 http://svn.code.sf.net/p/reduce-algebra/code/trunk/debianbuild/reduce/debian/redcsl.1\
    198                 http://svn.code.sf.net/p/reduce-algebra/code/trunk/packages\
    199                 http://svn.code.sf.net/p/reduce-algebra/code/trunk/scripts
    200         }
    201 
    202         set pathto [list ${worksrcdir}/csl\
    203                         ${worksrcdir}/debianbuild/reduce/debian\
    204                         ${worksrcdir}/packages\
    205                         ${worksrcdir}/scripts
    206                    ]
    207 
    208         foreach u $urlfrom p $pathto {
    209             set cmdstring "${svn.cmd} ${svn.method} -r ${svn.revision} --force $u . 2>&1"
    210             file mkdir ${workpath}/$p
    211             ui_debug "Executing ${cmdstring}"
    212             if {[catch {system -W ${workpath}/$p ${cmdstring}} -]} {
    213                 return -code error [msgcat::mc "svn export failed"]
    214             }
    215         }
    216     }
    217172
    218173    destroot {
     
    266221    configure.args-append   --with-psl
    267222
    268     post-fetch {
    269         set urlfrom {
    270             http://svn.code.sf.net/p/reduce-algebra/code/trunk/psl\
    271                 http://svn.code.sf.net/p/reduce-algebra/code/trunk/debianbuild/reduce/debian/redpsl.1\
    272                 http://svn.code.sf.net/p/reduce-algebra/code/trunk/packages\
    273                 http://svn.code.sf.net/p/reduce-algebra/code/trunk/scripts
    274         }
    275 
    276         set pathto [list ${worksrcdir}/psl\
    277                         ${worksrcdir}/debianbuild/reduce/debian\
    278                         ${worksrcdir}/packages\
    279                         ${worksrcdir}/scripts
    280                    ]
    281 
    282         foreach u $urlfrom p $pathto {
    283             set cmdstring "${svn.cmd} ${svn.method} -r ${svn.revision} --force $u . 2>&1"
    284             file mkdir ${workpath}/$p
    285             ui_debug "Executing ${cmdstring}"
    286             if {[catch {system -W ${workpath}/$p ${cmdstring}} -]} {
    287                 return -code error [msgcat::mc "svn export failed"]
    288             }
    289         }
    290     }
    291 
    292223    destroot {
    293224        set builddir [exec ${worksrcpath}/scripts/findhost.sh [exec ${worksrcpath}/config.guess]]
     
    307238           ${prefix}/libexec/${name}/pslbuild"
    308239        # copy PSL files
    309         copy {*}[glob ${pslbuilddir}/psl/*] ${libexecdir}/pslbuild/psl
    310         copy {*}[glob ${pslbuilddir}/red/*] ${libexecdir}/pslbuild/red
     240        xinstall -p {*}[glob ${pslbuilddir}/psl/*] ${libexecdir}/pslbuild/psl
     241        xinstall -p {*}[glob ${pslbuilddir}/red/*] ${libexecdir}/pslbuild/red
    311242        ln -s ${prefix}/libexec/${name}/pslbuild ${sharedir}/pslbuild
    312243        # copy man files
     
    321252subport reduce-addons {
    322253    license                 GPL
    323     svn.dir                 ${workpath}
     254
    324255    description             Useful addons for the REDUCE Computer Algebra System
    325256
     
    345276        --with-bpsl=${prefix}/libexec/${name}/pslbuild/psl/bpsl\
    346277        --with-reduce-img=${prefix}/libexec/${name}/pslbuild/red/reduce.img
    347 
    348     post-fetch {
    349         set urlfrom {
    350                 http://svn.code.sf.net/p/reduce-algebra/code/trunk/bin\
    351                     http://svn.code.sf.net/p/reduce-algebra/code/trunk/generic\
    352                     http://svn.code.sf.net/p/reduce-algebra/code/trunk/scripts
    353         }
    354 
    355         set pathto [list ${svn.dir}/trunk/bin\
    356                         ${svn.dir}/trunk/generic\
    357                         ${svn.dir}/trunk/scripts
    358                    ]
    359         foreach u $urlfrom p $pathto {
    360             set cmdstring "${svn.cmd} ${svn.method} -r ${svn.revision} --force $u . 2>&1"
    361             file mkdir $p
    362             ui_debug "Executing ${cmdstring}"
    363             if {[catch {system -W $p ${cmdstring}} -]} {
    364                 return -code error [msgcat::mc "svn export failed"]
    365             }
    366         }
    367     }
    368278
    369279    post-patch {
Note: See TracChangeset for help on using the changeset viewer.