| @@ -1,19 +1,17 @@ | | | @@ -1,19 +1,17 @@ |
1 | # $NetBSD: Makefile,v 1.4 2018/11/22 15:06:09 nia Exp $ | | 1 | # $NetBSD: Makefile,v 1.5 2019/06/23 09:46:51 wiz Exp $ |
2 | # | | | |
3 | | | 2 | |
4 | DISTNAME= enchant-2.2.3 | | 3 | DISTNAME= enchant-2.2.4 |
5 | PKGNAME= enchant2-2.2.3 | | 4 | PKGNAME= ${DISTNAME:S/enchant/enchant2/} |
6 | PKGREVISION= 1 | | | |
7 | CATEGORIES= textproc | | 5 | CATEGORIES= textproc |
8 | MASTER_SITES= ${MASTER_SITE_GITHUB:=AbiWord/} | | 6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=AbiWord/} |
9 | GITHUB_PROJECT= enchant | | 7 | GITHUB_PROJECT= enchant |
10 | GITHUB_RELEASE= v${PKGVERSION_NOREV} | | 8 | GITHUB_RELEASE= v${PKGVERSION_NOREV} |
11 | | | 9 | |
12 | MAINTAINER= pkgsrc-users@NetBSD.org | | 10 | MAINTAINER= pkgsrc-users@NetBSD.org |
13 | HOMEPAGE= https://abiword.github.io/enchant/ | | 11 | HOMEPAGE= https://abiword.github.io/enchant/ |
14 | COMMENT= Generic spell checking library | | 12 | COMMENT= Generic spell checking library |
15 | LICENSE= gnu-lgpl-v2.1 | | 13 | LICENSE= gnu-lgpl-v2.1 |
16 | | | 14 | |
17 | USE_TOOLS+= pkg-config autoconf | | 15 | USE_TOOLS+= pkg-config autoconf |
18 | USE_LANGUAGES= c c++11 | | 16 | USE_LANGUAGES= c c++11 |
19 | USE_PKGLOCALEDIR= yes | | 17 | USE_PKGLOCALEDIR= yes |
| @@ -21,26 +19,26 @@ USE_LIBTOOL= yes | | | @@ -21,26 +19,26 @@ USE_LIBTOOL= yes |
21 | PKGCONFIG_OVERRIDE+= enchant.pc.in | | 19 | PKGCONFIG_OVERRIDE+= enchant.pc.in |
22 | GNU_CONFIGURE= yes | | 20 | GNU_CONFIGURE= yes |
23 | CFLAGS.SunOS+= -D__EXTENSIONS__ | | 21 | CFLAGS.SunOS+= -D__EXTENSIONS__ |
24 | INSTALLATION_DIRS+= share/examples | | 22 | INSTALLATION_DIRS+= share/examples |
25 | MAKE_DIRS+= ${PREFIX}/share/enchant | | 23 | MAKE_DIRS+= ${PREFIX}/share/enchant |
26 | CONF_FILES= ${PREFIX}/share/examples/enchant.ordering ${PREFIX}/share/enchant/enchant.ordering | | 24 | CONF_FILES= ${PREFIX}/share/examples/enchant.ordering ${PREFIX}/share/enchant/enchant.ordering |
27 | | | 25 | |
28 | # unsupported in pkgsrc - other dictionaries can be used instead | | 26 | # unsupported in pkgsrc - other dictionaries can be used instead |
29 | # avoid PLIST problems | | 27 | # avoid PLIST problems |
30 | CONFIGURE_ARGS+= --without-hspell | | 28 | CONFIGURE_ARGS+= --without-hspell |
31 | CONFIGURE_ARGS+= --without-uspell | | 29 | CONFIGURE_ARGS+= --without-uspell |
32 | CONFIGURE_ARGS+= --without-voikko | | 30 | CONFIGURE_ARGS+= --without-voikko |
33 | | | 31 | |
34 | # XXX: needs unittest-cpp as a test dependency | | 32 | # Status as of 2.2.4: |
35 | #TEST_TARGET= check | | 33 | # FAILURE: 230 out of 425 tests failed (390 failures). |
| | | 34 | TEST_TARGET= check |
36 | | | 35 | |
37 | post-install: | | 36 | post-install: |
38 | cd ${DESTDIR}${PREFIX}/share && ${MV} enchant/enchant.ordering examples/enchant.ordering | | 37 | cd ${DESTDIR}${PREFIX}/share && ${MV} enchant/enchant.ordering examples/enchant.ordering |
39 | | | 38 | |
40 | | | | |
41 | .include "options.mk" | | 39 | .include "options.mk" |
42 | | | 40 | |
43 | .include "../../devel/glib2/buildlink3.mk" | | 41 | .include "../../devel/glib2/buildlink3.mk" |
44 | #BUILDLINK_DEPMETHOD.unittest-cpp= build # XXX: for tests | | 42 | BUILDLINK_DEPMETHOD.unittest-cpp= build # XXX: for tests |
45 | #.include "../../wip/unittest-cpp/buildlink3.mk" | | 43 | .include "../../devel/unittest-cpp/buildlink3.mk" |
46 | .include "../../mk/bsd.pkg.mk" | | 44 | .include "../../mk/bsd.pkg.mk" |