blob: e33da8db2a4b1c3bf47c7446ee2a12a5b182effb (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
|
PORTNAME= libkiwix
DISTVERSION= 12.1.0
CATEGORIES= devel
MAINTAINER= olce.freebsd.ports@certner.fr
COMMENT= Common code base for all Kiwix ports
WWW= https://www.kiwix.org/
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= bash:shells/bash
LIB_DEPENDS= libzim.so:devel/libzim \
libpugixml.so:textproc/pugixml \
libaria2.so:www/aria2 \
libicui18n.so:devel/icu \
libicuuc.so:devel/icu \
libxapian.so:databases/xapian-core \
libctpp2.so:textproc/ctpp2 \
libcurl.so:ftp/curl \
libmicrohttpd.so:www/libmicrohttpd
USES= compiler:c++11-lang meson pkgconfig python shebangfix
USE_GITHUB= yes
GH_ACCOUNT= kiwix
GH_TUPLE= kiwix:${PORTNAME}:${PORTVERSION}:DEFAULT \
kainjow:Mustache:v4.1:mustache
USE_LDCONFIG= yes
SHEBANG_FILES= scripts/format_code.sh
SHEBANG_REGEX= ./scripts/kiwix.*[^.].
CPPFLAGS+= -I${WRKSRC_mustache}
CXXFLAGS+= -I${WRKSRC_mustache}
LDFLAGS+= -lz
PLIST_SUB= PORTVERSION=${PORTVERSION} PORTMAJ=${PORTVERSION:C/\..*//}
.include <bsd.port.mk>
|