summaryrefslogtreecommitdiff
path: root/misc/sword/Makefile
blob: a0509d17f8f006cbb22e1e4bc1a472604ff81989 (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.1 2015/03/12 13:30:28 nros Exp $
#

DISTNAME=	sword-1.7.4
CATEGORIES=	misc
MASTER_SITES=	http://www.crosswire.org/ftpmirror/pub/sword/source/v1.7/

MAINTAINER=	elentirmo.gilgalad@gmail.com
HOMEPAGE=	http://www.crosswire.org/sword/index.jsp
COMMENT=	SWORD Bible study software libraries and tools
LICENSE=	gnu-gpl-v2

GNU_CONFIGURE=	yes
USE_LIBTOOL=	yes
USE_TOOLS+=	pkg-config gmake
USE_LANGUAGES=	c c++

CONFIGURE_ARGS+=	--with-clucene=${BUILDLINK_PREFIX.libclucene}

PKGCONFIG_OVERRIDE+=	sword.pc.in

INSTALLATION_DIRS+=share/examples/sword
INSTALL_TARGET= install install_config
REQD_FILES=	${PREFIX}/share/examples/sword/sword.conf \
		${PKG_SYSCONFDIR}/sword.conf

.include "../../textproc/icu/buildlink3.mk"
.include "../../textproc/libclucene/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"

.include "../../mk/bsd.pkg.mk"