pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/hunspell + Rename the "ncursesw" option to "w...
details: https://anonhg.NetBSD.org/pkgsrc/rev/fb3a51ba45ef
branches: trunk
changeset: 538987:fb3a51ba45ef
user: jlam <jlam%pkgsrc.org@localhost>
date: Fri Feb 22 17:04:34 2008 +0000
description:
+ 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:
textproc/hunspell/Makefile | 4 ++--
textproc/hunspell/options.mk | 19 +++++++++----------
2 files changed, 11 insertions(+), 12 deletions(-)
diffs (45 lines):
diff -r c5c71a7ded40 -r fb3a51ba45ef textproc/hunspell/Makefile
--- a/textproc/hunspell/Makefile Fri Feb 22 16:59:56 2008 +0000
+++ b/textproc/hunspell/Makefile Fri Feb 22 17:04:34 2008 +0000
@@ -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 -r c5c71a7ded40 -r fb3a51ba45ef textproc/hunspell/options.mk
--- a/textproc/hunspell/options.mk Fri Feb 22 16:59:56 2008 +0000
+++ b/textproc/hunspell/options.mk Fri Feb 22 17:04:34 2008 +0000
@@ -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
+USE_NCURSES= yes
+
+.if !empty(PKG_OPTIONS:Mwide-curses)
+. include "../../devel/ncursesw/buildlink3.mk"
+.else
. include "../../devel/ncurses/buildlink3.mk"
.endif
-
-.if !empty(PKG_OPTIONS:Mncursesw)
-. include "../../devel/ncursesw/buildlink3.mk"
-.endif
Home |
Main Index |
Thread Index |
Old Index