blob: 7fb5eaf877f78bbfe167cb6100a0a461ab19d48a (
plain) (
blame)
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
|
PORTNAME= libzim
DISTVERSION= 9.2.3
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= https://download.openzim.org/release/libzim/
MAINTAINER= olce.freebsd.ports@certner.fr
COMMENT= Reference implementation of the ZIM specification
WWW= https://wiki.openzim.org/wiki/Libzim
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
# 'googletest' dependency is only necessary for Meson's 'test' target, but it
# must be present as soon as configure time.
BUILD_DEPENDS= googletest>0:devel/googletest
LIB_DEPENDS= libicui18n.so:devel/icu \
libxapian.so:databases/xapian-core \
libzstd.so:archivers/zstd
# Python is necessary for the build against Xapian and for Meson's 'test' target
# as well, for which it must be present as soon as configure time.
USES= compiler:c++17-lang meson pkgconfig python:build tar:xz
USE_LDCONFIG= yes
BINARY_ALIAS= python3=${PYTHON_CMD:T} python3-config=${PYTHON_CMD:T}-config
PLIST_SUB= DISTVERSION=${DISTVERSION} DISTMAJ=${DISTVERSION:C/\..*//}
.include <bsd.port.mk>
|