summaryrefslogtreecommitdiff
path: root/misc/bibletime/Makefile
blob: 28bda6b75659e6f98800d02b611ea67a713bb32f (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
# $NetBSD: Makefile,v 1.4 2015/04/25 14:23:31 tnn Exp $

DISTNAME=		bibletime-2.10.1
PKGREVISION=		5
CATEGORIES=		misc
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=bibletime/}
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++
USE_TOOLS+=		pkg-config

SUBST_CLASSES+=		docdir
SUBST_FILES.docdir=	${WRKSRC}/cmake/BTDocumentation.cmake
SUBST_FILES.docdir+=	${WRKSRC}/src/util/directory.cpp
SUBST_STAGE.docdir=	pre-configure
SUBST_SED.docdir=	-e 's,bibletime/docs,doc/bibletime,g'

DEPENDS+=	dejavu-ttf-[0-9]*:../../fonts/dejavu-ttf

.include "options.mk"

.include "../../misc/sword/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../textproc/libclucene/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"