-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
Portfile
55 lines (43 loc) · 1.46 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# -*- 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
PortSystem 1.0
PortGroup github 1.0
PortGroup waf 1.0
github.setup jubatus jubatus_core 1.1.1
revision 0
categories devel math textproc
maintainers nomaintainer
description Jubatus algorithm component
long_description {*}${description}
homepage http://jubat.us/
platforms darwin
license {LGPL-2.1 MPL-2}
checksums rmd160 fc67340fd09fae95b2fa687080e35b027e4d8e64 \
sha256 6d945e92b494f88155a25518d208ead5cc835f352164a5111de39b51f0971843 \
size 1301339
depends_build-append port:pkgconfig
depends_lib port:msgpack0 \
port:oniguruma6
platform darwin {
if {${os.major} <= 10} {
known_fail yes
pre-fetch {
ui_error "$name does not build on Snow Leopard or earlier."
error "unsupported platform"
}
}
}
# shipped waf does not recognize --nocache
configure.post_args-delete \
--nocache
post-destroot {
# install an additional document.
set doc_dir ${destroot}${prefix}/share/doc/${name}
xinstall -d ${doc_dir}
xinstall -m 644 -W ${worksrcpath} \
CONTRIBUTING.md \
ChangeLog.rst \
LICENSE \
LICENSE.MPL2 \
README.rst \
${doc_dir}
}