summaryrefslogtreecommitdiff
path: root/editors/gedit3/options.mk
blob: 2970e89fabeec06c8d7c54c898d7f4940930d2dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# $NetBSD: options.mk,v 1.2 2016/04/12 16:12:55 prlw1 Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.gedit3
PKG_SUPPORTED_OPTIONS=	enchant
PKG_SUGGESTED_OPTIONS=	enchant

.include "../../mk/bsd.options.mk"

PLIST_VARS=		enchant

###
### Spell-check plugin which uses enchant
### (gspell is a wrapper for enchant)
###
.if !empty(PKG_OPTIONS:Menchant)
CONFIGURE_ARGS+=	--enable-spell
.include "../../textproc/gspell/buildlink3.mk"
PLIST.enchant=		yes
.else
CONFIGURE_ARGS+=	--disable-spell
.endif