Ticket #23908: Portfile-weka.diff
File Portfile-weka.diff, 2.1 KB (added by singingwolfboy@…, 15 years ago) |
---|
-
Portfile
old new 4 4 PortSystem 1.0 5 5 6 6 name weka 7 version 3.6.1 7 version 3.6.2 8 set dash_vers [string map {. -} ${version}] 8 9 maintainers mnick 9 10 10 11 categories science java 11 description Weka is a collection of machine learning algorithms for data mining tasks implem nted in java12 description Weka is a collection of machine learning algorithms for data mining tasks implemented in java 12 13 long_description ${description}. \ 13 14 The algorithms can either be applied directly to a dataset or called from \ 14 15 your own Java code. Weka contains tools for data pre-processing, classification, \ … … 19 20 platforms darwin 20 21 21 22 homepage http://www.cs.waikato.ac.nz/ml/weka/ 22 master_sites sourceforge 23 master_sites sourceforge:weka 23 24 use_zip yes 24 distname ${name}- 3-6-125 distname ${name}-${dash_vers} 25 26 26 checksums md5 8a50b593ea0db4c45c163332ad2af799\27 sha1 4a1dfacb85edeb101b5aa942d152eb24d5f22c10\28 rmd160 87ff849025a1d0074f7b9f5b17c7678356a8522b27 checksums md5 a065b9bc25458833970f6bca3f84785a \ 28 sha1 baa061128284b6d1e9aea7c572a06996194c5305 \ 29 rmd160 435eef8e81804b2cee82a4ead85dc4ea25ff16c7 29 30 30 31 patchfiles patch-build.xml.diff 31 32 … … 36 37 build.env-append CLASSPATH=${prefix}/share/java/jarbundler.jar 37 38 build.cmd ant 38 39 build.args "compile release_sub_tasks osx_application" 39 build.pre_args -Drelease=' 3-6-1'40 build.pre_args -Drelease='${version}' 40 41 41 42 post-extract { 42 43 system "cd ${worksrcpath} && jar xf ./weka-src.jar" … … 48 49 } 49 50 50 51 destroot { 51 file copy ${worksrcpath}/osx-distrib/weka- 3-6-1.app ${destroot}${applications_dir}/Weka.app52 file copy ${worksrcpath}/osx-distrib/weka-${version}.app ${destroot}${applications_dir}/Weka.app 52 53 } 53 54 54 55 # only check even minor versions for stable releases