+ 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.
This commit is contained in:
jlam 2008-02-22 17:04:34 +00:00
parent 7dc05de0e7
commit fd0712a4c9
2 changed files with 11 additions and 12 deletions

View file

@ -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/}

View file

@ -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