From 71ce011d9ee385c2579ca7132500132986efce9b Mon Sep 17 00:00:00 2001 From: jlam Date: Thu, 21 Feb 2008 22:47:28 +0000 Subject: + 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. --- www/snownews/Makefile | 4 ++-- www/snownews/options.mk | 20 +++++++++++--------- 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 -- cgit v1.2.3