summaryrefslogtreecommitdiff
path: root/misc/bibletime/Makefile
blob: 1315a5cda1255291bde5407e218883c246f9e3db (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
29
30
31
32
33
34
35
# $NetBSD: Makefile,v 1.58 2021/07/30 12:26:59 ryoon Exp $

DISTNAME=		bibletime-3.0
PKGREVISION=		6
CATEGORIES=		misc
MASTER_SITES=		${MASTER_SITE_GITHUB:=bibletime/}
GITHUB_RELEASE=		v${PKGVERSION_NOREV}
EXTRACT_SUFX=		.tar.xz
EXTRACT_USING=		bsdtar

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://bibletime.info/
COMMENT=		Bible study program based on SWORD and QT
LICENSE=		gnu-gpl-v2

USE_CMAKE=		yes
USE_LANGUAGES=		c c++11
USE_TOOLS+=		pkg-config

DEPENDS+=		dejavu-ttf-[0-9]*:../../fonts/dejavu-ttf
TOOL_DEPENDS+=		po4a-[0-9]*:../../textproc/po4a
TOOL_DEPENDS+=		libxslt-[0-9]*:../../textproc/libxslt

CMAKE_ARGS+=		-DBUILD_HANDBOOK_PDF=OFF
CMAKE_ARGS+=		-DBUILD_HOWTO_PDF=OFF
CMAKE_ARGS+=		-DBT_DOCBOOK_XSL_HTML_CHUNK_XSL:PATH="${PREFIX}/share/xsl/docbook/html/chunk.xsl"
CMAKE_ARGS+=		-DBT_RUNTIME_DOCDIR="${PREFIX}/share/doc/bibletime"

.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../misc/sword/buildlink3.mk"
.include "../../textproc/libclucene/buildlink3.mk"
.include "../../x11/qt5-qtdeclarative/buildlink3.mk"
.include "../../x11/qt5-qtsvg/buildlink3.mk"
.include "../../x11/qt5-qttools/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"