| @@ -1,33 +1,36 @@ | | | @@ -1,33 +1,36 @@ |
1 | # $NetBSD: Makefile,v 1.13 2017/08/24 20:03:00 adam Exp $ | | 1 | # $NetBSD: Makefile,v 1.14 2017/09/16 15:42:13 tnn Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= sword-1.7.4 | | 4 | DISTNAME= sword-1.7.4 |
5 | PKGREVISION= 11 | | 5 | PKGREVISION= 11 |
6 | CATEGORIES= misc | | 6 | CATEGORIES= misc |
7 | MASTER_SITES= http://www.crosswire.org/ftpmirror/pub/sword/source/v1.7/ | | 7 | MASTER_SITES= http://www.crosswire.org/ftpmirror/pub/sword/source/v1.7/ |
8 | | | 8 | |
9 | MAINTAINER= elentirmo.gilgalad@gmail.com | | 9 | MAINTAINER= elentirmo.gilgalad@gmail.com |
10 | HOMEPAGE= http://www.crosswire.org/sword/index.jsp | | 10 | HOMEPAGE= http://www.crosswire.org/sword/index.jsp |
11 | COMMENT= SWORD Bible study software libraries and tools | | 11 | COMMENT= SWORD Bible study software libraries and tools |
12 | LICENSE= gnu-gpl-v2 | | 12 | LICENSE= gnu-gpl-v2 |
13 | | | 13 | |
14 | GNU_CONFIGURE= yes | | 14 | GNU_CONFIGURE= yes |
15 | USE_LIBTOOL= yes | | 15 | USE_LIBTOOL= yes |
16 | USE_TOOLS+= pkg-config gmake | | 16 | USE_TOOLS+= pkg-config gmake |
17 | USE_LANGUAGES= c c++11 | | 17 | USE_LANGUAGES= c c++11 |
18 | | | 18 | |
19 | CONFIGURE_ARGS+= --with-clucene=${BUILDLINK_PREFIX.libclucene} | | 19 | CONFIGURE_ARGS+= --with-clucene=${BUILDLINK_PREFIX.libclucene} |
20 | | | 20 | |
21 | PKGCONFIG_OVERRIDE+= sword.pc.in | | 21 | PKGCONFIG_OVERRIDE+= sword.pc.in |
22 | | | 22 | |
23 | INSTALLATION_DIRS+=share/examples/sword | | 23 | INSTALLATION_DIRS+=share/examples/sword |
24 | INSTALL_TARGET= install install_config | | 24 | INSTALL_TARGET= install install_config |
25 | REQD_FILES= ${PREFIX}/share/examples/sword/sword.conf \ | | 25 | REQD_FILES= ${PREFIX}/share/examples/sword/sword.conf \ |
26 | ${PKG_SYSCONFDIR}/sword.conf | | 26 | ${PKG_SYSCONFDIR}/sword.conf |
27 | | | 27 | |
| | | 28 | # needed with at least GCC-5.4.0 which has a default value of 25 |
| | | 29 | CXXFLAGS+= -ftemplate-depth=50 |
| | | 30 | |
28 | .include "../../textproc/icu/buildlink3.mk" | | 31 | .include "../../textproc/icu/buildlink3.mk" |
29 | .include "../../textproc/libclucene/buildlink3.mk" | | 32 | .include "../../textproc/libclucene/buildlink3.mk" |
30 | .include "../../devel/zlib/buildlink3.mk" | | 33 | .include "../../devel/zlib/buildlink3.mk" |
31 | .include "../../www/curl/buildlink3.mk" | | 34 | .include "../../www/curl/buildlink3.mk" |
32 | | | 35 | |
33 | .include "../../mk/bsd.pkg.mk" | | 36 | .include "../../mk/bsd.pkg.mk" |