freebsd-ports/devel/kiwix-lib/Makefile
Mark Linimon 1fc0e3d65d This port requires C++11-compatible compiler to build. Add
USES=compiler:c++11-lang to fix build on GCC-based architectures.

PR:		235309
Submitted by:	Piotr Kubaj
Approved by:	portmgr (tier-2 blanket)
2019-02-04 11:43:30 +00:00

31 lines
709 B
Makefile

# $FreeBSD$
PORTNAME= kiwix-lib
DISTVERSION= 3.1.1
CATEGORIES= devel
MAINTAINER= me@int19h.org
COMMENT= Common code base for all Kiwix ports
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
USES= compiler:c++11-lang meson pkgconfig python:3.6+ shebangfix
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= kiwix
MESON_ARGS= -Dctpp2-install-prefix=${LOCALBASE}
SHEBANG_FILES= scripts/kiwix-compile-resources
.include <bsd.port.mk>