blob: 69d9357347876ae4a2fb1693a5c25636da8d050c (
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
|
PORTNAME= kiwix-tools
DISTVERSION= 3.1.2
CATEGORIES= www
MAINTAINER= me@int19h.org
COMMENT= Command-line Kiwix tools
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libkiwix.so:devel/kiwix-lib \
libmicrohttpd.so:www/libmicrohttpd \
libctpp2.so:textproc/ctpp2 \
libzim.so:devel/libzim
USES= compiler:c++11-lang meson pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= kiwix
USE_RC_SUBR= kiwix_serve
CXXFLAGS_gcc= -Wno-error=maybe-uninitialized
CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}}
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/share/kiwix
${INSTALL_DATA} files/library.xml ${STAGEDIR}${PREFIX}/share/kiwix
.include <bsd.port.mk>
|