Commits
Davide Gerhard authored and Ryan Schmidt committed a41ff78a1d4
1 1 | # -*- 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 |
2 2 | |
3 3 | PortSystem 1.0 |
4 4 | PortGroup cxx11 1.1 |
5 5 | |
6 6 | name xapian-core |
7 - | version 1.4.12 |
7 + | version 1.4.13 |
8 8 | categories devel |
9 9 | platforms darwin |
10 10 | maintainers {ryandesign @ryandesign} openmaintainer |
11 11 | license GPL-2+ |
12 12 | |
13 13 | description Xapian search library |
14 14 | long_description Xapian is a highly adaptable toolkit which allows \ |
15 15 | developers to easily add advanced indexing and search \ |
16 16 | facilities to their own applications. It supports the \ |
17 17 | Probabilistic Information Retrieval model and also \ |
21 21 | master_sites https://oligarchy.co.uk/xapian/${version}/ |
22 22 | dist_subdir xapian |
23 23 | use_xz yes |
24 24 | |
25 25 | if {${subport} eq ${name}} { |
26 26 | revision 0 |
27 27 | |
28 28 | # version.h does not get generated properly when there are multiple -arch flags |
29 29 | PortGroup muniversal 1.0 |
30 30 | |
31 - | checksums rmd160 0a25d7792062f597cf26946ce4e1af56f2e6c5e9 \ |
32 - | sha256 4f8a36da831712db41d38a039fefb5251869761a58be28ba802994bb930fac7c \ |
33 - | size 2979052 |
31 + | checksums rmd160 409398b7374d166ddc3749c2d98366727ad8a7d9 \ |
32 + | sha256 93f8ffffa80c5e6036befbf356f34456cc18c2f745cef85e9b4cfc254042137c \ |
33 + | size 2985532 |
34 34 | |
35 35 | # TODO: Fix xapian-config to not require the .la file |
36 36 | # /opt/local/bin/xapian-config --ltlibs --cxxflags |
37 37 | # /opt/local/bin/xapian-config: Can't find libxapian.la to link against. |
38 38 | destroot.delete_la_files no |
39 39 | |
40 40 | depends_lib port:zlib |
41 41 | |
42 42 | if {[variant_exists universal] && [variant_isset universal]} { |
43 43 | post-build { |
50 50 | |
51 51 | livecheck.type regex |
52 52 | livecheck.url ${homepage}/download |
53 53 | livecheck.regex ${name}-(\[0-9\]+\\.\[0-9\]*\[02468\](\\.\[0-9\]+)*)${extract.suffix} |
54 54 | } else { |
55 55 | livecheck.type none |
56 56 | } |
57 57 | |
58 58 | subport xapian-omega { |
59 59 | revision 0 |
60 - | checksums rmd160 54b7d52a38b094bb2ebb10578d6458959d6c4c47 \ |
61 - | sha256 0e6767d4571b6b58ae4e65b0b60cce57909f11aec245fc557eb9d13a47ca19ce \ |
62 - | size 539324 |
60 + | checksums rmd160 e18903f1a0f424c7f42ec85ec9a0cace1a5a693b \ |
61 + | sha256 c26ec4a99a210c26ce64ec08bc7dbb9cca78d82d9266351d498751f6575e8906 \ |
62 + | size 540216 |
63 63 | |
64 64 | description web application using the Xapian library |
65 65 | long_description Xapian Omega is an application built on the \ |
66 66 | Xapian library, consisting of indexers and a \ |
67 67 | CGI search frontend. |
68 68 | |
69 69 | homepage ${homepage}/docs/omega/overview.html |
70 70 | |
71 71 | distname xapian-omega-${version} |
72 72 | |
73 73 | depends_lib port:libiconv \ |
74 74 | port:libmagic \ |
75 75 | port:pcre \ |
76 76 | port:xapian-core \ |
77 77 | port:zlib |
78 78 | |
79 79 | configure.args --with-iconv |
80 80 | } |
81 81 | |
82 82 | if [string match {xapian-bindings-*} ${subport}] { |
83 - | checksums rmd160 b1743d1c67ae32af4074eb40b3eea90493bcbe1d \ |
84 - | sha256 7577174efbee2b893b5387fb0bdf3b630e82f55288a00a4c3ec9fdc463e42a49 \ |
85 - | size 1132048 |
83 + | checksums rmd160 1d91642bae3ba0bec4aae54eace763366d05840a \ |
84 + | sha256 7a5a5d2712159ed0a5174a8aabedfc01452a69ebd6e2147d97e497122baa5892 \ |
85 + | size 1132592 |
86 86 | |
87 87 | homepage ${homepage}/docs/bindings/ |
88 88 | |
89 89 | distname xapian-bindings-${version} |
90 90 | |
91 91 | depends_lib port:xapian-core |
92 92 | |
93 93 | configure.args --without-csharp \ |
94 94 | --without-java \ |
95 95 | --without-lua \ |
96 96 | --without-perl \ |
97 97 | --without-python \ |
98 98 | --without-python3 \ |
99 99 | --without-php \ |
100 100 | --without-php7 \ |
101 101 | --without-ruby \ |
102 102 | --without-tcl |
103 103 | } |
104 104 | |
105 105 | # Java |
106 106 | subport xapian-bindings-java { |
107 + | PortGroup java 1.0 |
108 + | |
107 109 | revision 0 |
108 110 | |
109 111 | description Xapian bindings for Java |
110 112 | long_description ${description} |
111 113 | |
114 + | # Required java version |
115 + | java.version 6+ |
116 + | # JDK port to install if required java not found |
117 + | java.fallback openjdk11 |
118 + | |
112 119 | configure.args-replace --without-java --with-java |
113 120 | |
114 - | # TODO: libxapian_jni.jnilib gets "installed" into the work directory: |
121 + | # jni destination violates the mtree layout |
122 + | destroot.violate_mtree yes |
123 + | |
115 124 | # https://trac.xapian.org/ticket/774 |
125 + | post-destroot { |
126 + | file mkdir ${destroot}/Library/Java/Extensions |
127 + | move ${destroot}/${worksrcpath}/java/built/libxapian_jni.jnilib \ |
128 + | ${destroot}/Library/Java/Extensions/libxapian_jni.jnilib |
129 + | } |
116 130 | } |
117 131 | |
118 132 | # Perl |
119 133 | foreach v {5.26 5.28} { |
120 134 | subport xapian-bindings-perl${v} " |
121 135 | revision 0 |
122 136 | |
123 137 | description Xapian bindings for Perl ${v} |
124 138 | long_description \${description} |
125 139 | |