Changeset 42266 for trunk/dports/math


Ignore:
Timestamp:
Nov 17, 2008, 9:56:36 PM (11 years ago)
Author:
mcalhoun@…
Message:

yacas: update version 1.1.10 -> 1.2.2; fixes #17126 (maintainer timeout)

File:
1 edited

Legend:

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

    r31004 r42266  
    22
    33PortSystem 1.0
     4
    45name            yacas
    5 version         1.1.10
     6version         1.2.2
    67categories      math
    7 maintainers     olt@bogosoft.com
     8platforms       darwin
     9homepage        http://yacas.sourceforge.net/
     10maintainers     bogosoft.com:olt
    811description     Yet Another Computer Algebra System
    912long_description YACAS is an easy to use, general purpose Computer Algebra\
     
    1316        system has a library of scripts that implement many of the symbolic\
    1417        algebra operations - new algorithms can be easily added to the library.
     18
    1519master_sites    http://yacas.sourceforge.net/backups/
    16 checksums   md5 bc391471ea02a2e226d5b2658c1150ac \
    17             sha1 c59d138345da0ec365cfe3e018c9ebe0d81e310c \
    18             rmd160 38e0dce2cf461ab76573b82a5d0d95b9dce290db
    1920
    20 patchfiles  patch-Makefile.in
     21checksums   md5 329f149ca3ceb976a7e596b56fc3cba5 \
     22            sha1 8e753c22c207a5aa5e9fd2a9d519605d5b73d5b9 \
     23            rmd160 6c49ca60e4f1f92e7d30e8d91b6126e55d77321b
    2124
    22 depends_build   bin:perl:perl5.8
    2325
    24 configure.args-append   --disable-shared
     26# perl is used to build documentation
     27# ${prefix}/share/yacas/manmake/txt2yacasdoc.pl requires perl after build
     28depends_lib     path:bin/perl:perl5
     29
     30post-patch {
     31    #Ensure that the correct perl is used
     32    foreach f {ytxt2tex Makefile.in book2ys.sh book2xml.sh book2txt.sh book2TeX.sh} {
     33        reinplace -E "s|(\[^a-zA-Z_\])perl |\\1${prefix}/bin/perl |g" ${worksrcpath}/manmake/${f}
     34    }
     35    foreach f [glob -directory ${worksrcpath}/manmake *.pl] {
     36         reinplace  "s|/usr/bin/perl|${prefix}/bin/perl|g" ${f}
     37    }
     38}
     39
     40configure.args-append   --with-html-dir=${prefix}/share/doc/${name}
    2541
    2642test.run        yes
    2743
    28 variant gmp {
    29         # for faster arbitrary precision arithmetics
    30         depends_lib-append      lib:libgmp.4:gmp
    31         configure.args-append   --with-numlib=gmp
    32 }
     44livecheck.url    http://yacas.sourceforge.net/downloads.html
     45livecheck.regex  "version (\\d(?:\\.\\d+)*)"
Note: See TracChangeset for help on using the changeset viewer.