[90592] trunk/dports/devel/jubatus
hum at macports.org
hum at macports.org
Fri Mar 9 04:29:43 PST 2012
Revision: 90592
http://trac.macports.org/changeset/90592
Author: hum at macports.org
Date: 2012-03-09 04:29:43 -0800 (Fri, 09 Mar 2012)
Log Message:
-----------
jubatus: update to 0.2.0.
Modified Paths:
--------------
trunk/dports/devel/jubatus/Portfile
trunk/dports/devel/jubatus/files/patch-wscript.diff
Removed Paths:
-------------
trunk/dports/devel/jubatus/files/patch-zk.hpp.diff
Modified: trunk/dports/devel/jubatus/Portfile
===================================================================
--- trunk/dports/devel/jubatus/Portfile 2012-03-09 12:28:28 UTC (rev 90591)
+++ trunk/dports/devel/jubatus/Portfile 2012-03-09 12:29:43 UTC (rev 90592)
@@ -4,8 +4,7 @@
PortSystem 1.0
PortGroup github 1.0
-github.setup jubatus jubatus 0.1.1 jubatus-
-revision 1
+github.setup jubatus jubatus 0.2.0 jubatus-
categories devel math textproc
platforms darwin
maintainers hum openmaintainer
@@ -18,8 +17,8 @@
these functions: multi-class/binary classification, pre-proccessing \
data (for natural language), and process management.
-fetch.type git
-git.branch 3646d09fa6
+checksums rmd160 08a0ad0188ff022c21adc77dff9be547d7539b63 \
+ sha256 e6239d5fb3d385dd1ee3c3fb3bc5d28ee329476725e91ab3552ae793fce3ddeb
depends_lib port:pkgconfig \
port:py-msgpack \
@@ -31,8 +30,7 @@
port:mecab-utf8 \
port:libzookeeper
-patchfiles patch-wscript.diff \
- patch-zk.hpp.diff
+patchfiles patch-wscript.diff
post-patch {
reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/wscript
@@ -61,16 +59,20 @@
set bindir ${destroot}${prefix}/bin
set builddir ${worksrcpath}/build/src
foreach path [concat [glob ${libdir}/*.dylib] [glob ${bindir}/*]] {
- system "install_name_tool -change ${builddir}/client/libjubatus.dylib ${prefix}/lib/libjubatus.dylib ${path}"
- system "install_name_tool -change ${builddir}/common/libjubacommon.dylib ${prefix}/lib/libjubacommon.dylib ${path}"
- system "install_name_tool -change ${builddir}/plugin/fv_converter/libmecab_splitter.dylib ${prefix}/lib/libmecab_splitter.dylib ${path}"
- system "install_name_tool -change ${builddir}/plugin/fv_converter/libux_splitter.dylib ${prefix}/lib/libux_splitter.dylib ${path}"
- system "install_name_tool -change ${builddir}/server/classifier/libjubaclassifier.dylib ${prefix}/lib/libjubaclassifier.dylib ${path}"
- system "install_name_tool -change ${builddir}/server/fv_converter/libfilter_sample.dylib ${prefix}/lib/libfilter_sample.dylib ${path}"
- system "install_name_tool -change ${builddir}/server/fv_converter/libjubaconverter.dylib ${prefix}/lib/libjubaconverter.dylib ${path}"
- system "install_name_tool -change ${builddir}/server/fv_converter/libnum_feature_sample.dylib ${prefix}/lib/libnum_feature_sample.dylib ${path}"
- system "install_name_tool -change ${builddir}/server/fv_converter/libnum_filter_sample.dylib ${prefix}/lib/libnum_filter_sample.dylib ${path}"
- system "install_name_tool -change ${builddir}/server/fv_converter/libsplitter_sample.dylib ${prefix}/lib/libsplitter_sample.dylib ${path}"
- system "install_name_tool -change ${builddir}/server/storage/libjubastorage.dylib ${prefix}/lib/libjubastorage.dylib ${path}"
+ system "install_name_tool -change ${builddir}/classifier/libjubatus_classifier.dylib ${prefix}/lib/libjubatus_classifier.dylib ${path}"
+ system "install_name_tool -change ${builddir}/common/libjubacommon.dylib ${prefix}/lib/libjubacommon.dylib ${path}"
+ system "install_name_tool -change ${builddir}/framework/libjubatus_framework.dylib ${prefix}/lib/libjubatus_framework.dylib ${path}"
+ system "install_name_tool -change ${builddir}/fv_converter/libfilter_sample.dylib ${prefix}/lib/libfilter_sample.dylib ${path}"
+ system "install_name_tool -change ${builddir}/fv_converter/libjubaconverter.dylib ${prefix}/lib/libjubaconverter.dylib ${path}"
+ system "install_name_tool -change ${builddir}/fv_converter/libnum_feature_sample.dylib ${prefix}/lib/libnum_feature_sample.dylib ${path}"
+ system "install_name_tool -change ${builddir}/fv_converter/libnum_filter_sample.dylib ${prefix}/lib/libnum_filter_sample.dylib ${path}"
+ system "install_name_tool -change ${builddir}/fv_converter/libsplitter_sample.dylib ${prefix}/lib/libsplitter_sample.dylib ${path}"
+ system "install_name_tool -change ${builddir}/plugin/fv_converter/libmecab_splitter.dylib ${prefix}/lib/libmecab_splitter.dylib ${path}"
+ system "install_name_tool -change ${builddir}/plugin/fv_converter/libre2_splitter.dylib ${prefix}/lib/libre2_splitter.dylib ${path}"
+ system "install_name_tool -change ${builddir}/plugin/fv_converter/libux_splitter.dylib ${prefix}/lib/libux_splitter.dylib ${path}"
+ system "install_name_tool -change ${builddir}/recommender/libjubatus_recommender.dylib ${prefix}/lib/libjubatus_recommender.dylib ${path}"
+ system "install_name_tool -change ${builddir}/regression/libjubatus_regression.dylib ${prefix}/lib/libjubatus_regression.dylib ${path}"
+ system "install_name_tool -change ${builddir}/stat/libjubatus_stat.dylib ${prefix}/lib/libjubatus_stat.dylib ${path}"
+ system "install_name_tool -change ${builddir}/storage/libjubastorage.dylib ${prefix}/lib/libjubastorage.dylib ${path}"
}
}
Modified: trunk/dports/devel/jubatus/files/patch-wscript.diff
===================================================================
--- trunk/dports/devel/jubatus/files/patch-wscript.diff 2012-03-09 12:28:28 UTC (rev 90591)
+++ trunk/dports/devel/jubatus/files/patch-wscript.diff 2012-03-09 12:29:43 UTC (rev 90592)
@@ -1,6 +1,6 @@
---- wscript.orig 2011-10-27 00:50:52.000000000 +0900
-+++ wscript 2011-11-06 17:01:03.000000000 +0900
-@@ -19,6 +19,7 @@
+--- wscript.orig 2012-02-17 11:29:15.000000000 +0900
++++ wscript 2012-02-18 17:02:51.000000000 +0900
+@@ -27,6 +27,7 @@
def configure(conf):
conf.env.CXXFLAGS += ['-O2', '-Wall', '-g', '-pipe']
@@ -8,23 +8,3 @@
conf.load('compiler_cxx')
conf.load('unittest_gtest')
-@@ -33,7 +34,7 @@
- conf.check_cxx(header_name = 'signal.h')
-
- if not Options.options.disable_zookeeper:
-- conf.check_cxx(header_name = 'c-client-src/zookeeper.h',
-+ conf.check_cxx(header_name = 'zookeeper/zookeeper.h',
- define_name = 'HAVE_ZOOKEEPER_H',
- errmsg = 'not found ("--disable-zookeeper" option is available)')
- conf.check_cxx(lib = 'zookeeper_mt', errmsg = 'ZK not found', libpath = '/usr/local/lib')
---- src/common/wscript.orig 2011-10-27 00:50:52.000000000 +0900
-+++ src/common/wscript 2011-10-30 04:14:23.000000000 +0900
-@@ -4,7 +4,7 @@
- pass
-
- def configure(conf):
-- conf.check_cxx(lib = 'crypt', mandatory = True)
-+# conf.check_cxx(lib = 'crypt', mandatory = True)
- conf.check_cxx(function_name = 'crypt', header_name = 'unistd.h', mandatory = True)
- conf.check_cxx(header_name = 'sys/socket.h net/if.h sys/ioctl.h', mandatory = True)
- conf.check_cxx(header_name = 'netinet/in.h arpa/inet.h', mandatory = True)
Deleted: trunk/dports/devel/jubatus/files/patch-zk.hpp.diff
===================================================================
--- trunk/dports/devel/jubatus/files/patch-zk.hpp.diff 2012-03-09 12:28:28 UTC (rev 90591)
+++ trunk/dports/devel/jubatus/files/patch-zk.hpp.diff 2012-03-09 12:29:43 UTC (rev 90592)
@@ -1,11 +0,0 @@
---- src/common/zk.hpp.orig 2011-10-27 00:50:52.000000000 +0900
-+++ src/common/zk.hpp 2011-11-06 17:18:19.000000000 +0900
-@@ -27,7 +27,7 @@
- #include <pficommon/concurrent/lock.h>
- #include <pficommon/concurrent/threading_model.h>
-
--#include <c-client-src/zookeeper.h>
-+#include <zookeeper/zookeeper.h>
-
- namespace jubatus{
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120309/e89820fd/attachment.html>
More information about the macports-changes
mailing list