# -*- 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 PortGroup github 1.0 github.setup jubatus jubatus 0.4.5 categories devel math textproc maintainers hum openmaintainer description Distributed Online Machine Learning Framework long_description The Jubatus library is a online machine learning framework \ which runs in distributed environment. Jubatus library includes \ these functions: multi-class/binary classification, pre-proccessing \ data (for natural language), and process management. homepage http://jubat.us/ platforms darwin license LGPL-2.1 checksums rmd160 e173d8800eb30e9f7a00647e43ea2a91abec53dd \ sha256 07e5978cc6dfd9292effd531a213f3c6981424529d1dad65aa55a0ff0c469e0d depends_build port:pkgconfig depends_lib port:msgpack \ port:pficommon \ port:re2 \ port:jubatus-mpio \ port:jubatus-msgpack-rpc \ port:google-glog \ port:ux-trie \ port:mecab-utf8 \ port:libzookeeper configure.cmd ./waf configure configure.args-append --enable-ux --enable-mecab --enable-zookeeper configure.universal_args build.cmd ./waf build build.target destroot.cmd ./waf destroot.args --destdir=${destroot} destroot.destdir post-destroot { set libdir ${destroot}${prefix}/lib set plugin_dir ${libdir}/jubatus/plugin foreach libname [glob -tails -directory ${libdir} *.dylib] { system "install_name_tool -id ${prefix}/lib/${libname} ${libdir}/${libname}" } foreach libname [glob -tails -directory ${plugin_dir} *.dylib] { system "install_name_tool -id ${prefix}/lib/jubatus/plugin/${libname} ${plugin_dir}/${libname}" } # fix to install_name for installed libraries. set bindir ${destroot}${prefix}/bin set builddir ${worksrcpath}/build/src foreach path [concat [glob ${libdir}/*.dylib] [glob ${libdir}/jubatus/plugin/*.dylib] [glob ${bindir}/*]] { set libpathes1 [regexp -all -inline {\S+\/libjuba\S+dylib \(} [exec otool -L ${path}]] set libpathes2 [regexp -all -inline {\S+\/fv_converter\/lib\S+dylib \(} [exec otool -L ${path}]] foreach libpath [concat ${libpathes1} ${libpathes2}] { regexp {\S+\/(lib[^\/]+dylib)} ${libpath} srcpath libname system "install_name_tool -change ${srcpath} ${prefix}/lib/${libname} ${path}" } } # install an additional document. set doc_dir ${destroot}${prefix}/share/doc/${name} xinstall -d ${doc_dir} xinstall -m 644 -W ${worksrcpath} \ LICENSE README.rst \ ${doc_dir} }