1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/devel/kiwix-lib/Makefile
2020-11-03 00:56:26 +00:00

41 lines
989 B
Makefile

# $FreeBSD$
PORTNAME= kiwix-lib
DISTVERSION= 9.3.1
PORTREVISION= 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 \
libmicrohttpd.so:www/libmicrohttpd
USES= compiler:c++11-lang meson pkgconfig python:3.6+ shebangfix
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= kiwix
GH_TUPLE= kiwix:${PORTNAME}:${PORTVERSION}:DEFAULT \
kainjow:Mustache:a7eebc9:mustache
MESON_ARGS= -Dctpp2-install-prefix=${LOCALBASE}
CPPFLAGS+= -I${WRKSRC_mustache}
CXXFLAGS+= -I${WRKSRC_mustache}
SHEBANG_FILES= scripts/kiwix-compile-resources
PLIST_SUB= PORTVERSION=${PORTVERSION} PORTMAJ=${PORTVERSION:C/\..*//}
.include <bsd.port.mk>