summaryrefslogtreecommitdiff
path: root/devel/libzim/Makefile
blob: fe12b1c7d8b2091e6783d66e2256e97174c6d913 (plain)
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
PORTNAME=	libzim
DISTVERSION=	6.3.2
PORTREVISION=	2
CATEGORIES=	devel
MASTER_SITES=	https://download.openzim.org/release/libzim/

MAINTAINER=	swills@FreeBSD.org
COMMENT=	Reference implementation of the ZIM specification
WWW=		https://www.openzim.org/wiki/OpenZIM

LICENSE=	GPLv2+
LICENSE_FILE=	${WRKSRC}/COPYING

BUILD_DEPENDS=	googletest>0:devel/googletest

LIB_DEPENDS=	libicui18n.so:devel/icu \
		libxapian.so:databases/xapian-core \
		libzstd.so:archivers/zstd

USES=		compiler:c++11-lang meson pkgconfig python:3.6+ 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>