Changeset 98472


Ignore:
Timestamp:
Oct 6, 2012, 6:59:24 AM (12 years ago)
Author:
hum@…
Message:

opal-ml: update to 2012-10-06; reformat and clean up post-destroot and livecheck.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/math/opal-ml/Portfile

    r98194 r98472  
    55
    66# '-ml' stands for Machine Learning, which is appended in order to avoid conflict with devel/opal.
    7 # see http://lists.macosforge.org/pipermail/macports-dev/2012-January/017429.html and #32884.
     7# See http://lists.macosforge.org/pipermail/macports-dev/2012-January/017429.html and #32884.
    88name                opal-ml
    9 version             2012-09-26
     9version             2012-10-06
    1010epoch               1
    1111categories          math
    12 platforms           darwin
    1312maintainers         hum openmaintainer
    14 license             {GPL-2 LGPL-2.1}
    1513
    16 homepage            http://www.tkl.iis.u-tokyo.ac.jp/~ynaga/opal/
    1714description         C++ header library of online learning with kernel slicing
    1815long_description    Opal is a ${description}.
    1916
     17homepage            http://www.tkl.iis.u-tokyo.ac.jp/~ynaga/opal/
     18platforms           darwin
     19license             {GPL-2 LGPL-2.1}
     20
    2021master_sites        ${homepage}
    21 checksums           rmd160  3fe0ff5349aae9fcf241ea76a7dbe2051b275774 \
    22                     sha256  27ab1340b91238ff79c3d105e8242b1ed0c09655776664b65b00d0da418fbfdf
     22checksums           rmd160  cd58a4860bcb4d21af4b96bbfb8f6b2ffea4c7ed \
     23                    sha256  8ab4bc3c6d4c23891fb8ef324bca883509838b20d77f608f387124759a237920
    2324
    2425distname            opal-${version}
    2526
    2627post-destroot {
    27     file mkdir ${destroot}${prefix}/share/doc/${name}
     28    set doc_dir ${destroot}${prefix}/share/doc/${name}
     29    file mkdir ${doc_dir}
    2830    xinstall -m 644 -W ${worksrcpath} \
    2931        AUTHORS COPYING GPL LGPL README \
    30         ${destroot}${prefix}/share/doc/${name}
     32        ${doc_dir}
    3133    copy ${worksrcpath}/test ${destroot}${prefix}/share/${name}
    3234}
     
    3941
    4042livecheck.type      regex
    41 livecheck.url       ${homepage}
    42 livecheck.regex     {opal-(\d+-\d+-\d+)\.tar}
     43livecheck.regex     opal-(\\d+-\\d+-\\d+)\\.
Note: See TracChangeset for help on using the changeset viewer.