blob: a88bf0c761bc733f94f2c9bc2de0f2e0064a738b (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
PORTNAME= enchant
PORTVERSION= 2.2.15
PORTREVISION= 4
CATEGORIES= textproc gnome
MASTER_SITES= https://github.com/AbiWord/enchant/releases/download/v${PORTVERSION}/
PKGNAMESUFFIX= 2
MAINTAINER= gnome@FreeBSD.org
COMMENT= Dictionary/spellchecking framework
WWW= https://abiword.github.io/enchant/
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING.LIB
USES= compiler:c++11-lib gmake gnome libtool localbase pathfix \
pkgconfig
USE_GNOME= glib20
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CONFIGURE_ARGS= --without-applespell \
--without-voikko
INSTALL_TARGET= install-strip
OPTIONS_MULTI= SPELL
OPTIONS_MULTI_SPELL=ASPELL HSPELL HUNSPELL NUSPELL ZEMBEREK
OPTIONS_DEFAULT=HUNSPELL
OPTIONS_SUB= yes
HSPELL_DESC= Spell checking via Hspell
HUNSPELL_DESC= Spell checking via Hunspell
NUSPELL_DESC= Spell checking via Nuspell
ZEMBEREK_DESC= Spell checking via Zemberek
ASPELL_LIB_DEPENDS= libaspell.so:textproc/aspell
ASPELL_CONFIGURE_WITH= aspell
ASPELL_CONFIGURE_ON= --with-aspell-dir=${LOCALBASE}/share/aspell
HSPELL_LIB_DEPENDS= libhspell.so.0:hebrew/hspell
HSPELL_CONFIGURE_WITH= hspell
HSPELL_CONFIGURE_ON= --with-hspell-dir=${LOCALBASE}/share/hspell
HUNSPELL_LIB_DEPENDS= libhunspell-1.7.so:textproc/hunspell
HUNSPELL_CONFIGURE_WITH= hunspell
HUNSPELL_CONFIGURE_ON= --with-hunspell-dir=${LOCALBASE}/share/hunspell
NUSPELL_LIB_DEPENDS= libicuuc.so:devel/icu \
libnuspell.so:textproc/nuspell
NUSPELL_CONFIGURE_WITH= nuspell
NUSPELL_CONFIGURE_ON= --with-nuspell-dir=${LOCALBASE}/share/hunspell
ZEMBEREK_LIB_DEPENDS= libdbus-1.so:devel/dbus \
libdbus-glib-1.so:devel/dbus-glib
ZEMBEREK_CONFIGURE_WITH= zemberek
PLIST_SUB+= LIBVERSION="${PORTVERSION}"
post-patch:
@${REINPLACE_CMD} -e 's|MKDIRPROG-mkdir|MKDIRPROG-mkdir -p|g' \
${WRKSRC}/install-sh
.include <bsd.port.mk>
|