[117064] trunk/dports/devel/jubatus/Portfile
hum at macports.org
hum at macports.org
Fri Feb 14 07:46:17 PST 2014
Revision: 117064
https://trac.macports.org/changeset/117064
Author: hum at macports.org
Date: 2014-02-14 07:46:16 -0800 (Fri, 14 Feb 2014)
Log Message:
-----------
jubatus: update to 0.5.1; fix depends_lib; use waf port group (#42303); do not build on Mavericks.
Modified Paths:
--------------
trunk/dports/devel/jubatus/Portfile
Modified: trunk/dports/devel/jubatus/Portfile
===================================================================
--- trunk/dports/devel/jubatus/Portfile 2014-02-14 15:25:53 UTC (rev 117063)
+++ trunk/dports/devel/jubatus/Portfile 2014-02-14 15:46:16 UTC (rev 117064)
@@ -3,8 +3,9 @@
PortSystem 1.0
PortGroup github 1.0
+PortGroup waf 1.0
-github.setup jubatus jubatus 0.4.5
+github.setup jubatus jubatus 0.5.1
categories devel math textproc
maintainers hum openmaintainer
@@ -20,32 +21,36 @@
platforms darwin
license LGPL-2.1
-checksums rmd160 e173d8800eb30e9f7a00647e43ea2a91abec53dd \
- sha256 07e5978cc6dfd9292effd531a213f3c6981424529d1dad65aa55a0ff0c469e0d
+checksums rmd160 276dbc15eaa69ba3a1d8ef7829b54c669d354a2e \
+ sha256 abb6c7d0e790061c08047519bc226c47e6523a70343483cd3ba631dfd25a873b
depends_build port:pkgconfig
depends_lib port:msgpack \
- port:pficommon \
- port:re2 \
port:jubatus-mpio \
port:jubatus-msgpack-rpc \
port:google-glog \
+ port:oniguruma5 \
+ port:mecab-utf8 \
port:ux-trie \
- port:mecab-utf8 \
port:libzookeeper
-configure.cmd ./waf configure
-configure.args-append --enable-ux --enable-mecab --enable-zookeeper
-configure.universal_args
+platform darwin {
+ if {${os.major} <= 10} {
+ pre-fetch {
+ ui_error "$name does not build on Snow Leopard or earlier."
+ error "unsupported platform"
+ }
+ } elseif {${os.major} >= 13} {
+ pre-fetch {
+ ui_error "$name does not build on Mavericks or later."
+ error "unsupported platform"
+ }
+ }
+}
-build.cmd ./waf build
-build.target
+configure.args-append --enable-mecab --enable-ux --enable-zookeeper
-destroot.cmd ./waf
-destroot.args --destdir=${destroot}
-destroot.destdir
-
post-destroot {
set libdir ${destroot}${prefix}/lib
set plugin_dir ${libdir}/jubatus/plugin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140214/0cf7d993/attachment.html>
More information about the macports-changes
mailing list