File:  [cvs.NetBSD.org] / pkgsrc / misc / sword / Makefile
Revision 1.21: download - view: text, annotated - select for diffs
Thu Aug 16 18:54:31 2018 UTC (6 years, 2 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2018Q3-base, pkgsrc-2018Q3, HEAD
revbump after boost-libs update

# $NetBSD: Makefile,v 1.21 2018/08/16 18:54:31 adam Exp $
#

DISTNAME=	sword-1.7.4
PKGREVISION=	18
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++11

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

# needed with at least GCC-5.4.0 which has a default value of 25
CXXFLAGS+=	-ftemplate-depth=50

.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"

CVSweb <webmaster@jp.NetBSD.org>