summaryrefslogtreecommitdiff
path: root/misc/bibletime/Makefile
blob: 1fd7e02c5064770dcbe25a917881b2df72c3c75e (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.9 2016/08/04 17:03:36 ryoon Exp $

DISTNAME=		bibletime-2.10.1
PKGREVISION=		10
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"