[88964] trunk/dports/math

hum at macports.org hum at macports.org
Sun Jan 15 03:13:18 PST 2012


Revision: 88964
          http://trac.macports.org/changeset/88964
Author:   hum at macports.org
Date:     2012-01-15 03:13:15 -0800 (Sun, 15 Jan 2012)
Log Message:
-----------
New port: vowpal_wabbit @6.1 - a fast online learning tool.

Added Paths:
-----------
    trunk/dports/math/vowpal_wabbit/
    trunk/dports/math/vowpal_wabbit/Portfile

Added: trunk/dports/math/vowpal_wabbit/Portfile
===================================================================
--- trunk/dports/math/vowpal_wabbit/Portfile	                        (rev 0)
+++ trunk/dports/math/vowpal_wabbit/Portfile	2012-01-15 11:13:15 UTC (rev 88964)
@@ -0,0 +1,60 @@
+# -*- 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
+
+name                vowpal_wabbit
+version             6.1
+categories          math
+platforms           darwin
+maintainers         hum openmaintainer
+license             BSD
+
+homepage            http://hunch.net/~vw/ \
+                    https://github.com/JohnLangford/vowpal_wabbit/wiki                    
+description         a fast online learning tool
+long_description    Vowpal Wabbit is the essence of speed in machine learning, able to \
+                    learn from terafeature datasets with ease. Via parallel learning, \
+                    it can exceed the throughput of any single machine network interface \
+                    when doing linear learning, a first amongst learning algorithms.
+
+fetch.type          git
+git.url             https://github.com/JohnLangford/vowpal_wabbit.git
+git.branch          340ae2a
+
+depends_lib         port:boost
+
+variant universal   {}
+
+use_configure       no
+
+if {${configure.compiler} == "clang"} {
+    configure.cxx   g++
+}
+
+build.args          COMPILER=${configure.cxx} \
+                    FLAGS="-I${prefix}/include ${configure.cxxflags} [get_canonical_archflags cxx]" \
+                    BOOST_LIBRARY=${prefix}/lib
+
+test.run            yes
+
+destroot {
+    xinstall -m 755 -W ${worksrcpath} vw active_interactor ${destroot}${prefix}/bin
+}
+
+set cluster_dir     ${worksrcpath}/cluster
+
+variant cluster description {Add cluster codes} {
+    post-build {
+        system -W ${cluster_dir} "${build.cmd} [join ${build.args}] ${build.target}"
+    }
+    post-destroot {
+        xinstall -m 755 -W ${cluster_dir} spanning_tree ${destroot}${prefix}/bin
+    }
+}
+
+default_variants    +cluster
+
+livecheck.type      regex
+livecheck.url       https://github.com/JohnLangford/vowpal_wabbit/tags
+livecheck.regex     tarball\\/(\[0-9.\]+)


Property changes on: trunk/dports/math/vowpal_wabbit/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/20120115/6121d38d/attachment.html>


More information about the macports-changes mailing list