On Jan 15, 2012, at 05:13, [email protected] wrote:

> Revision: 88964
>          http://trac.macports.org/changeset/88964
> Author:   [email protected]
> 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      

The homepage should be a single URL only.


> +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

Consider using the new github portgroup! See attached patch.

Why is it necessary to fetch from git? Could you fetch from the 6.1 distfile 
instead? If so that would be greatly preferred.


> +depends_lib         port:boost
> +
> +variant universal   {}
> +
> +use_configure       no
> +
> +if {${configure.compiler} == "clang"} {
> +    configure.cxx   g++
> +}

This is strange, and runs the risk of using a wrong compiler:

https://trac.macports.org/wiki/UsingTheRightCompiler

Why was this needed? You may instead want to see:

https://trac.macports.org/wiki/ProblemHotlist#compiler


Attachment: vowpal_wabbit.diff
Description: Binary data


_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to