summaryrefslogtreecommitdiff
path: root/www/snownews
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-02-21 22:47:28 +0000
committerjlam <jlam@pkgsrc.org>2008-02-21 22:47:28 +0000
commit8445ecc84ca3b1a530fd37a4b554c927f491bb81 (patch)
tree54a6435c906f86e97c4c22862a87a5df71300d5d /www/snownews
parentdb7d6f58bf596b3e1819397959cef593f8e533fa (diff)
downloadpkgsrc-8445ecc84ca3b1a530fd37a4b554c927f491bb81.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 5.
Diffstat (limited to 'www/snownews')
-rw-r--r--www/snownews/Makefile4
-rw-r--r--www/snownews/options.mk20
2 files changed, 13 insertions, 11 deletions
diff --git a/www/snownews/Makefile b/www/snownews/Makefile
index fe551080ba8..71ffd618a2a 100644
--- a/www/snownews/Makefile
+++ b/www/snownews/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.31 2008/02/21 22:42:29 jlam Exp $
+# $NetBSD: Makefile,v 1.32 2008/02/21 22:47:28 jlam Exp $
DISTNAME= snownews-1.5.7
-PKGREVISION= 4
+PKGREVISION= 5
CATEGORIES= www
MASTER_SITES= http://kiza.kcore.de/software/snownews/download/
diff --git a/www/snownews/options.mk b/www/snownews/options.mk
index f5c1fb06ff1..53710690acb 100644
--- a/www/snownews/options.mk
+++ b/www/snownews/options.mk
@@ -1,17 +1,19 @@
-# $NetBSD: options.mk,v 1.1 2007/09/13 23:24:04 wiz Exp $
+# $NetBSD: options.mk,v 1.2 2008/02/21 22:47:28 jlam Exp $
-PKG_OPTIONS_VAR= PKG_OPTIONS.snownews
-PKG_OPTIONS_REQUIRED_GROUPS= display
-PKG_OPTIONS_GROUP.display= ncurses ncursesw
-PKG_SUGGESTED_OPTIONS= ncurses
+PKG_OPTIONS_VAR= PKG_OPTIONS.snownews
+PKG_SUPPORTED_OPTIONS= wide-curses
+PKG_LEGACY_OPTS+= ncursesw:wide-curses
.include "../../mk/bsd.options.mk"
-.if !empty(PKG_OPTIONS:Mncurses)
-. include "../../devel/ncurses/buildlink3.mk"
-.endif
+###
+### Wide curses support; otherwise, default to using narrow curses.
+###
+USE_NCURSES= yes # WA_BOLD, WA_REVERSE, KEY_RESIZE
-.if !empty(PKG_OPTIONS:Mncursesw)
+.if !empty(PKG_OPTIONS:Mwide-curses)
. include "../../devel/ncursesw/buildlink3.mk"
CONFIGURE_ARGS+= --charset=UTF-8
+.else
+. include "../../devel/ncurses/buildlink3.mk"
.endif