[115241] trunk/dports/math/vowpal_wabbit/Portfile

hum at macports.org hum at macports.org
Sun Dec 29 17:37:22 PST 2013


Revision: 115241
          https://trac.macports.org/changeset/115241
Author:   hum at macports.org
Date:     2013-12-29 17:37:21 -0800 (Sun, 29 Dec 2013)
Log Message:
-----------
vowpal_wabbit: update to 7.4; install additional documents.

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

Modified: trunk/dports/math/vowpal_wabbit/Portfile
===================================================================
--- trunk/dports/math/vowpal_wabbit/Portfile	2013-12-30 01:20:58 UTC (rev 115240)
+++ trunk/dports/math/vowpal_wabbit/Portfile	2013-12-30 01:37:21 UTC (rev 115241)
@@ -4,7 +4,7 @@
 PortSystem          1.0
 PortGroup           github 1.0
 
-github.setup        JohnLangford vowpal_wabbit 6.1
+github.setup        JohnLangford vowpal_wabbit 7.4
 categories          math
 maintainers         hum openmaintainer
 
@@ -18,8 +18,8 @@
 platforms           darwin
 license             BSD
 
-checksums           rmd160  a18dbff352b503040d3c4b8991b8ebf60e341dd2 \
-                    sha256  26a23aed9497025a678bd0031577434f872dade86dafc5d749dea48f9232c9ad
+checksums           rmd160  5dcc37fc58c24cd0ed3b48efcd4fe8400702d5d8 \
+                    sha256  825eec26463e30b4ed465b133a39d0c2928f9a3af058e6b769f879667e4b5b37
 
 depends_lib         port:boost
 
@@ -27,19 +27,22 @@
 
 variant universal   {}
 
-# Work around missing includes
-# TODO: Fix this by patching relevant files and reporting upstream
-configure.cxxflags-append -include /usr/include/unistd.h -include /usr/include/string.h
-
 build.args          COMPILER=${configure.cxx} \
                     FLAGS="-I${prefix}/include ${configure.cxxflags} [get_canonical_archflags cxx]" \
-                    BOOST_LIBRARY=${prefix}/lib \
-                    LIBS="-lboost_program_options-mt -lpthread -lz"
+                    BOOST_LIBRARY=${prefix}/lib
 
 test.run            yes
 
 destroot {
-    xinstall -m 755 -W ${worksrcpath} vw active_interactor ${destroot}${prefix}/bin
+    xinstall -m 755 -W ${worksrcpath}/vowpalwabbit \
+        vw active_interactor \
+        ${destroot}${prefix}/bin
+    # install additional documents.
+    set docdir ${prefix}/share/doc/${name}
+    xinstall -d ${destroot}${docdir}
+    xinstall -W ${worksrcpath} \
+        AUTHORS LICENSE \
+        ${destroot}${docdir}
 }
 
 set cluster_dir     ${worksrcpath}/cluster
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131229/495fa992/attachment-0001.html>


More information about the macports-changes mailing list