[115158] trunk/dports/math/opal-ml/Portfile

hum at macports.org hum at macports.org
Fri Dec 27 00:29:57 PST 2013


Revision: 115158
          https://trac.macports.org/changeset/115158
Author:   hum at macports.org
Date:     2013-12-27 00:29:57 -0800 (Fri, 27 Dec 2013)
Log Message:
-----------
opal-ml: update to 2013-12-25.

Modified Paths:
--------------
    trunk/dports/math/opal-ml/Portfile

Modified: trunk/dports/math/opal-ml/Portfile
===================================================================
--- trunk/dports/math/opal-ml/Portfile	2013-12-27 08:08:34 UTC (rev 115157)
+++ trunk/dports/math/opal-ml/Portfile	2013-12-27 08:29:57 UTC (rev 115158)
@@ -6,7 +6,7 @@
 # '-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.
 name                opal-ml
-version             2013-04-23
+version             2013-12-25
 epoch               1
 categories          math
 maintainers         hum openmaintainer
@@ -19,18 +19,20 @@
 license             {GPL-2 LGPL-2.1}
 
 master_sites        ${homepage}
-checksums           rmd160  17e177e2ac09be1aa2c43be6ec57f39135a476f9 \
-                    sha256  f8c525756b91919e39d6e6ec861a6d4e29ac825f4336e96cff77ee15915b7598
+checksums           rmd160  c06667a7bb188870ecdf9e23c169e6ae67fbbb2d \
+                    sha256  52692cbb50d0f0c53f56fc90f79a4a6b275c0c680107f8c001f21d49f39b0740
 
 distname            opal-${version}
 
 post-destroot {
-    set doc_dir ${destroot}${prefix}/share/doc/${name}
-    file mkdir ${doc_dir}
+    set docdir ${prefix}/share/doc/${name}
+    xinstall -d ${destroot}${docdir}
     xinstall -m 644 -W ${worksrcpath} \
         AUTHORS COPYING GPL LGPL README \
-        ${doc_dir}
-    copy ${worksrcpath}/test ${destroot}${prefix}/share/${name}
+        ${destroot}${docdir}
+    set exroot ${prefix}/share/examples
+    xinstall -d ${destroot}${exroot}
+    copy ${worksrcpath}/test ${destroot}${exroot}/${name}
 }
 
 variant multiclass description {Add a multi-class classifier} {
@@ -40,4 +42,4 @@
 default_variants    +multiclass
 
 livecheck.type      regex
-livecheck.regex     opal-(\\d+-\\d+-\\d+)\\.
+livecheck.regex     "opal-(\\d+(?:\\-\\d+)*)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131227/be0e2b9a/attachment.html>


More information about the macports-changes mailing list