pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/snownews + Rename the "ncursesw" option to "wide-c...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e55914376cb6
branches: trunk
changeset: 538961:e55914376cb6
user: jlam <jlam%pkgsrc.org@localhost>
date: Thu Feb 21 22:47:28 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 5.
diffstat:
www/snownews/Makefile | 4 ++--
www/snownews/options.mk | 24 +++++++++++++-----------
2 files changed, 15 insertions(+), 13 deletions(-)
diffs (47 lines):
diff -r 252c2e23877a -r e55914376cb6 www/snownews/Makefile
--- a/www/snownews/Makefile Thu Feb 21 22:42:29 2008 +0000
+++ b/www/snownews/Makefile Thu Feb 21 22:47:28 2008 +0000
@@ -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 -r 252c2e23877a -r e55914376cb6 www/snownews/options.mk
--- a/www/snownews/options.mk Thu Feb 21 22:42:29 2008 +0000
+++ b/www/snownews/options.mk Thu Feb 21 22:47:28 2008 +0000
@@ -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)
+###
+### Wide curses support; otherwise, default to using narrow curses.
+###
+USE_NCURSES= yes # WA_BOLD, WA_REVERSE, KEY_RESIZE
+
+.if !empty(PKG_OPTIONS:Mwide-curses)
+. include "../../devel/ncursesw/buildlink3.mk"
+CONFIGURE_ARGS+= --charset=UTF-8
+.else
. include "../../devel/ncurses/buildlink3.mk"
.endif
-
-.if !empty(PKG_OPTIONS:Mncursesw)
-. include "../../devel/ncursesw/buildlink3.mk"
-CONFIGURE_ARGS+= --charset=UTF-8
-.endif
Home |
Main Index |
Thread Index |
Old Index