[64470] trunk/dports/science/weka

mnick at macports.org mnick at macports.org
Sat Mar 6 14:33:46 PST 2010


Revision: 64470
          http://trac.macports.org/changeset/64470
Author:   mnick at macports.org
Date:     2010-03-06 14:33:43 -0800 (Sat, 06 Mar 2010)
Log Message:
-----------
update weka to 3.6.2 and include better icon (closes #23908)

Modified Paths:
--------------
    trunk/dports/science/weka/Portfile
    trunk/dports/science/weka/files/weka_icon.icns

Modified: trunk/dports/science/weka/Portfile
===================================================================
--- trunk/dports/science/weka/Portfile	2010-03-06 21:49:07 UTC (rev 64469)
+++ trunk/dports/science/weka/Portfile	2010-03-06 22:33:43 UTC (rev 64470)
@@ -4,11 +4,12 @@
 PortSystem          1.0
 
 name                weka
-version             3.6.1
+version             3.6.2
+set dash_vers       [string map {. -} ${version}]
 maintainers         mnick
 
 categories          science java
-description         Weka is a collection of machine learning algorithms for data mining tasks implemnted in java
+description         Weka is a collection of machine learning algorithms for data mining tasks implemented in java
 long_description    ${description}. \
                     The algorithms can either be applied directly to a dataset or called from \
                     your own Java code. Weka contains tools for data pre-processing, classification, \
@@ -19,13 +20,13 @@
 platforms           darwin
 
 homepage            http://www.cs.waikato.ac.nz/ml/weka/
-master_sites        sourceforge
+master_sites        sourceforge:weka
 use_zip             yes
-distname            ${name}-3-6-1
+distname            ${name}-${dash_vers}
 
-checksums           md5     8a50b593ea0db4c45c163332ad2af799 \
-                    sha1    4a1dfacb85edeb101b5aa942d152eb24d5f22c10 \
-                    rmd160  87ff849025a1d0074f7b9f5b17c7678356a8522b
+checksums           md5     a065b9bc25458833970f6bca3f84785a \
+                    sha1    baa061128284b6d1e9aea7c572a06996194c5305 \
+                    rmd160  435eef8e81804b2cee82a4ead85dc4ea25ff16c7
 
 patchfiles          patch-build.xml.diff
 
@@ -36,7 +37,7 @@
 build.env-append    CLASSPATH=${prefix}/share/java/jarbundler.jar
 build.cmd           ant
 build.args          "compile release_sub_tasks osx_application"
-build.pre_args      -Drelease='3-6-1'
+build.pre_args      -Drelease='${version}'
 
 post-extract {
     system "cd ${worksrcpath} && jar xf ./weka-src.jar"
@@ -48,7 +49,7 @@
 }
 
 destroot {
-    file copy ${worksrcpath}/osx-distrib/weka-3-6-1.app ${destroot}${applications_dir}/Weka.app
+    file copy ${worksrcpath}/osx-distrib/weka-${version}.app ${destroot}${applications_dir}/Weka.app
 }
 
 # only check even minor versions for stable releases

Modified: trunk/dports/science/weka/files/weka_icon.icns
===================================================================
(Binary files differ)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100306/ac802b37/attachment.html>


More information about the macports-changes mailing list