summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorjlam <jlam>2008-02-22 17:04:34 +0000
committerjlam <jlam>2008-02-22 17:04:34 +0000
commitd0bd41470cab41d6ced5b06f1753ab5b03178998 (patch)
tree8d0a2f6cc7e0a4eecfa614f8fded330d1efdf8d4 /textproc
parenta3863f99aa8edce26f2bd40fdffced4f948f25db (diff)
downloadpkgsrc-d0bd41470cab41d6ced5b06f1753ab5b03178998.tar.gz
+ Rename the "ncursesw" option to "wide-curses" and get rid of the
"ncurses" option. "wide-curses" now just toggles whether we use wide or narrow curses, which is a much simpler knob for users. Bump the PKGREVISION to 2.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/hunspell/Makefile4
-rw-r--r--textproc/hunspell/options.mk17
2 files changed, 10 insertions, 11 deletions
diff --git a/textproc/hunspell/Makefile b/textproc/hunspell/Makefile
index 8feeea31dac..e0d5a109de4 100644
--- a/textproc/hunspell/Makefile
+++ b/textproc/hunspell/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.4 2007/10/09 19:19:15 martti Exp $
+# $NetBSD: Makefile,v 1.5 2008/02/22 17:04:34 jlam Exp $
#
DISTNAME= hunspell-1.1.12-2
PKGNAME= ${DISTNAME:C/-([0-9]+)$/.\1/}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=hunspell/}
diff --git a/textproc/hunspell/options.mk b/textproc/hunspell/options.mk
index 302e32f2ce7..f5ea334d99a 100644
--- a/textproc/hunspell/options.mk
+++ b/textproc/hunspell/options.mk
@@ -1,17 +1,16 @@
-# $NetBSD: options.mk,v 1.1.1.1 2007/09/11 17:40:29 wiz Exp $
+# $NetBSD: options.mk,v 1.2 2008/02/22 17:04:34 jlam Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.hunspell
-PKG_OPTIONS_REQUIRED_GROUPS= display
-PKG_OPTIONS_GROUP.display= ncurses ncursesw
-PKG_SUGGESTED_OPTIONS= ncurses
+PKG_SUPPORTED_OPTIONS= wide-curses
+PKG_SUGGESTED_OPTIONS= # empty
+PKG_LEGACY_OPTS+= ncursesw:wide-curses
.include "../../mk/bsd.options.mk"
-.if !empty(PKG_OPTIONS:Mncurses)
-USE_NCURSES= yes
-. include "../../devel/ncurses/buildlink3.mk"
-.endif
+USE_NCURSES= yes
-.if !empty(PKG_OPTIONS:Mncursesw)
+.if !empty(PKG_OPTIONS:Mwide-curses)
. include "../../devel/ncursesw/buildlink3.mk"
+.else
+. include "../../devel/ncurses/buildlink3.mk"
.endif