/
Portfile
57 lines (46 loc) · 2.14 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
56
57
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
name zebra
version 2.2.5
categories databases net www devel
license GPL-2+
maintainers nomaintainer
description information management system
long_description Zebra is a high-performance, general-purpose \
structured text indexing and retrieval engine. \
It reads structured records in a variety of input formats \
(e.g. email, XML, MARC) and allows access to them \
through exact boolean search expressions \
and relevance-ranked free-text queries.
homepage https://www.indexdata.com/resources/software/zebra/
master_sites https://ftp.indexdata.com/pub/zebra/
distname idzebra-${version}
checksums rmd160 83c93fdede9a13b2c7272455745918659730f202 \
sha256 747714b33b653cbe5697193703b9955489fa2f51597433f9b072ab2bf9cf92bb \
size 1988697
depends_build port:pkgconfig
depends_lib port:bzip2 \
port:expat \
path:lib/pkgconfig/icu-uc.pc:icu \
port:libiconv \
port:libxml2 \
port:libxslt \
port:tcl \
port:xz \
port:yaz \
port:zlib
patchfiles allow_undefined.patch
configure.args --enable-mod-alvis \
--enable-mod-dom \
--enable-mod-grs-marc \
--enable-mod-grs-regx \
--enable-mod-grs-xml \
--enable-mod-safari \
--enable-mod-text \
--with-iconv=${prefix}/lib \
--with-yaz=pkg
configure.cppflags-append \
-DUSE_INTERP_ERRORLINE -DUSE_INTERP_RESULT
livecheck.type regex
livecheck.url ${master_sites}?M=D
livecheck.regex "${name}-(\[0-9\]+(\\.\[0-9\]+)+)${extract.suffix}"