Files
2026-03-22 12:17:44 +00:00

36 lines
750 B
Makefile

BROKEN-sparc64 = error: comparison of integer expressions of different signedness
COMMENT = reference implementation of the ZIM specification
DISTNAME = libzim-9.5.1
SHARED_LIBS += zim 5.0
CATEGORIES = archivers
HOMEPAGE = https://wiki.openzim.org/wiki/OpenZIM
# GPLv2+
PERMIT_PACKAGE = Yes
WANTLIB += ${COMPILER_LIBCXX} icui18n icuuc lzma m xapian zstd
SITES = https://download.openzim.org/release/libzim/
EXTRACT_SUFX = .tar.xz
# C++11
COMPILER = base-clang ports-gcc
MODULES = devel/meson
CXXFLAGS = -Wno-deprecated-declarations
BUILD_DEPENDS = devel/gtest
LIB_DEPENDS = archivers/xz \
archivers/zstd \
databases/xapian-core \
textproc/icu4c
TEST_ENV = TMPDIR=${WRKDIR}
.include <bsd.port.mk>