[86118] trunk/dports/math

hum at macports.org hum at macports.org
Wed Oct 19 06:19:05 PDT 2011


Revision: 86118
          http://trac.macports.org/changeset/86118
Author:   hum at macports.org
Date:     2011-10-19 06:19:04 -0700 (Wed, 19 Oct 2011)
Log Message:
-----------
New port: sofia-ml - Suite of Fast Incremental Algorithms for Machine Learning.

Added Paths:
-----------
    trunk/dports/math/sofia-ml/
    trunk/dports/math/sofia-ml/Portfile

Added: trunk/dports/math/sofia-ml/Portfile
===================================================================
--- trunk/dports/math/sofia-ml/Portfile	                        (rev 0)
+++ trunk/dports/math/sofia-ml/Portfile	2011-10-19 13:19:04 UTC (rev 86118)
@@ -0,0 +1,69 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem          1.0
+
+fetch.type          svn
+svn.url             http://sofia-ml.googlecode.com/svn/trunk/sofia-ml
+svn.revision        42
+
+name                sofia-ml
+version             2011-06-20-r${svn.revision}
+categories          math
+platforms           darwin
+maintainers         hum openmaintainer
+license             Apache-2.0
+
+homepage            http://code.google.com/p/sofia-ml/
+description         Suite of Fast Incremental Algorithms for Machine Learning
+long_description    The suite of fast incremental algorithms for machine learning (sofia-ml) \
+                    can be used for training models for classification, regression, ranking, \
+                    or combined regression and ranking. Several different techniques are \
+                    available. This release is intended to aid researchers and practitioners \
+                    who require fast methods for classification and ranking on large, sparse \
+                    data sets.
+
+distname            ${name}
+worksrcdir          ${distname}/src
+
+use_configure       no
+
+variant universal   {}
+
+build.args          "GCC=\"${configure.cxx} ${configure.cxxflags} [get_canonical_archflags cxx]\""
+build.target        
+
+test.run            yes
+test.args           ${build.args}
+test.target         all_test
+
+destroot {
+    xinstall -m 755 -W ${workpath}/${distname} sofia-ml ${destroot}${prefix}/bin
+    xinstall -m 755 -W ${workpath}/${distname} eval.pl  ${destroot}${prefix}/bin/sofia-eval.pl
+    file mkdir ${destroot}${prefix}/share/${name}
+    foreach item {COPYING README demo papers} {
+        file copy ${workpath}/${distname}/${item} \
+            ${destroot}${prefix}/share/${name}
+    }
+}
+
+set kmeans_worksrcpath ${workpath}/${distname}/cluster-src
+
+variant kmeans description {Add sofia-kmeans package} {
+    post-build {
+        system "cd ${kmeans_worksrcpath} && ${build.cmd} ${build.args} ${build.target}"
+    }
+    post-test {
+        system "cd ${kmeans_worksrcpath} && ${build.cmd} ${test.args} ${test.target}"
+    }
+    post-destroot {
+        xinstall -m 755 -W ${workpath}/${distname} sofia-kmeans ${destroot}${prefix}/bin
+    }
+}
+
+default_variants    +kmeans
+
+livecheck.type      regex
+livecheck.version   ${svn.revision}
+livecheck.url       ${homepage}source/list
+livecheck.regex     >r(\\d+)<


Property changes on: trunk/dports/math/sofia-ml/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111019/016de2cd/attachment.html>


More information about the macports-changes mailing list