[98472] trunk/dports/math/opal-ml/Portfile
hum at macports.org
hum at macports.org
Fri Oct 5 23:59:24 PDT 2012
Revision: 98472
http://trac.macports.org//changeset/98472
Author: hum at macports.org
Date: 2012-10-05 23:59:24 -0700 (Fri, 05 Oct 2012)
Log Message:
-----------
opal-ml: update to 2012-10-06; reformat and clean up post-destroot and livecheck.
Modified Paths:
--------------
trunk/dports/math/opal-ml/Portfile
Modified: trunk/dports/math/opal-ml/Portfile
===================================================================
--- trunk/dports/math/opal-ml/Portfile 2012-10-06 06:44:16 UTC (rev 98471)
+++ trunk/dports/math/opal-ml/Portfile 2012-10-06 06:59:24 UTC (rev 98472)
@@ -4,30 +4,32 @@
PortSystem 1.0
# '-ml' stands for Machine Learning, which is appended in order to avoid conflict with devel/opal.
-# see http://lists.macosforge.org/pipermail/macports-dev/2012-January/017429.html and #32884.
+# See http://lists.macosforge.org/pipermail/macports-dev/2012-January/017429.html and #32884.
name opal-ml
-version 2012-09-26
+version 2012-10-06
epoch 1
categories math
-platforms darwin
maintainers hum openmaintainer
-license {GPL-2 LGPL-2.1}
-homepage http://www.tkl.iis.u-tokyo.ac.jp/~ynaga/opal/
description C++ header library of online learning with kernel slicing
long_description Opal is a ${description}.
+homepage http://www.tkl.iis.u-tokyo.ac.jp/~ynaga/opal/
+platforms darwin
+license {GPL-2 LGPL-2.1}
+
master_sites ${homepage}
-checksums rmd160 3fe0ff5349aae9fcf241ea76a7dbe2051b275774 \
- sha256 27ab1340b91238ff79c3d105e8242b1ed0c09655776664b65b00d0da418fbfdf
+checksums rmd160 cd58a4860bcb4d21af4b96bbfb8f6b2ffea4c7ed \
+ sha256 8ab4bc3c6d4c23891fb8ef324bca883509838b20d77f608f387124759a237920
distname opal-${version}
post-destroot {
- file mkdir ${destroot}${prefix}/share/doc/${name}
+ set doc_dir ${destroot}${prefix}/share/doc/${name}
+ file mkdir ${doc_dir}
xinstall -m 644 -W ${worksrcpath} \
AUTHORS COPYING GPL LGPL README \
- ${destroot}${prefix}/share/doc/${name}
+ ${doc_dir}
copy ${worksrcpath}/test ${destroot}${prefix}/share/${name}
}
@@ -38,5 +40,4 @@
default_variants +multiclass
livecheck.type regex
-livecheck.url ${homepage}
-livecheck.regex {opal-(\d+-\d+-\d+)\.tar}
+livecheck.regex opal-(\\d+-\\d+-\\d+)\\.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121005/3c8cbe1f/attachment.html>
More information about the macports-changes
mailing list