freebsd-ports/www/kiwix-tools/Makefile
Steve Wills 34c8fa2a52 www/kiwix-tools: update to 3.1.2
PR:		248057
Approved by:	maintainer timeout (me@int19h.org, >3 weeks)
2020-08-10 18:13:13 +00:00

31 lines
665 B
Makefile

# $FreeBSD$
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>