aboutsummaryrefslogtreecommitdiff
path: root/misc/xiphos/Makefile
blob: 75f014b2c7664336e1bee93d1eb20f12acbab409 (plain) (blame)
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
40
41
42
PORTNAME=	xiphos
DISTVERSION=	4.2.1
PORTREVISION=	2
CATEGORIES=	misc gnome
# Don't use USE_GITHUB: the sources downloaded by USE_GITHUB cannot be
# built as they miss the file ${WRKSRC}/cmake/source_version.txt.
# See also: https://github.com/crosswire/xiphos/issues/1037
MASTER_SITES=	https://github.com/crosswire/${PORTNAME}/releases/download/${DISTVERSION}/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Bible interface utilizing the sword framework

LICENSE=	GPLv2+
LICENSE_FILE=	${WRKSRC}/COPYING

BUILD_DEPENDS=	appstream-util:devel/appstream-glib \
		desktop-file-validate:devel/desktop-file-utils \
		itstool:textproc/itstool \
		yelp-build:textproc/yelp-tools
LIB_DEPENDS=	libbiblesync.so:misc/biblesync \
		libdbus-1.so:devel/dbus \
		libdbus-glib-1.so:devel/dbus-glib \
		libenchant.so:textproc/enchant \
		libicui18n.so:devel/icu \
		libminizip.so:archivers/minizip \
		libsoup-2.4.so:devel/libsoup \
		libsword.so:misc/sword \
		libuuid.so:misc/e2fsprogs-libuuid \
		libwebkit2gtk-4.0.so:www/webkit2-gtk3

# gettext is always needed, even if NLS is off
USES=		cmake compiler:c11 gettext gnome pkgconfig
USE_GNOME=	cairo gconf2 gtk30 gtkhtml4 intltool libgsf
INSTALLS_ICONS=	yes

CMAKE_OFF=	EPUB
CMAKE_ON=	GTKHTML

OPTIONS_DEFINE=	NLS
OPTIONS_SUB=	NLS

.include <bsd.port.mk>