Subject: my #23103: ncurses provide reset, tset, tput, clear (fwd)
To: None <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 12/16/2003 14:14:13
As jlam requested, I am posting the following for review on the tech-pkg
mailing list. (Below it should say that I tested under Linux and NetBSD.)
Jeremy C. Reed
http://bsd.reedmedia.net/
---------- Forwarded message ----------
Date: Wed, 3 Dec 2003 15:46:45 -0800 (PST)
From: Jeremy C. Reed <reed@reedmedia.net>
To: jlam@NetBSD.org
Subject: my #23103: ncurses provide reset, tset, tput, clear
Can I apply the following for devel/ncurses?
This is regarding PR #23103.
This is the fix. Test under NetBSD and Linux. It appears that tools work
fine under NetBSD too. (Also removed patch-ab.)
cvs server: Diffing devel/ncurses
Index: devel/ncurses/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/ncurses/Makefile,v
retrieving revision 1.52
diff -b -u -r1.52 Makefile
--- devel/ncurses/Makefile 2003/11/23 07:12:01 1.52
+++ devel/ncurses/Makefile 2003/12/03 23:45:55
@@ -2,7 +2,7 @@
DISTNAME= ncurses-${NC_VERS}
NC_VERS= 5.3
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=ncurses/} \
ftp://dickey.his.com/ncurses/ \
@@ -45,12 +45,8 @@
CONFIGURE_ARGS+= --with-default-terminfo-dir=${PREFIX}/${TERMINFODIR}
CONFIGURE_ARGS+= --with-terminfo-dirs=${PREFIX}/${TERMINFODIR}
-# Remove these manpages from the distribution so they won't get installed
-CURSES_NO_MAN= clear.1 tput.1 tset.1
-
post-configure:
cd ${WRKSRC}/man; \
- ${RM} -f ${CURSES_NO_MAN}; \
for f in *.1m; do \
${MV} -f $${f} `${BASENAME} $${f} .1m`.1; \
done; \
Index: devel/ncurses/PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/devel/ncurses/PLIST,v
retrieving revision 1.4
diff -b -u -r1.4 PLIST
--- devel/ncurses/PLIST 2003/03/31 16:20:01 1.4
+++ devel/ncurses/PLIST 2003/12/03 23:46:00
@@ -1,10 +1,14 @@
@comment $NetBSD: PLIST,v 1.4 2003/03/31 16:20:01 bouyer Exp $
bin/captoinfo
+bin/clear
bin/infocmp
bin/infotocap
+bin/reset
bin/tack
bin/tic
bin/toe
+bin/tput
+bin/tset
include/cursesapp.h
include/cursesf.h
include/cursesm.h
@@ -47,11 +51,15 @@
lib/libpanel.so.5
lib/libpanel.so.5.3
man/man1/captoinfo.1
+man/man1/clear.1
man/man1/infocmp.1
man/man1/infotocap.1
+man/man1/reset.1
man/man1/tack.1
man/man1/tic.1
man/man1/toe.1
+man/man1/tput.1
+man/man1/tset.1
man/man3/COLOR_PAIR.3
man/man3/PAIR_NUMBER.3
man/man3/_nc_tracebits.3
cvs server: Diffing devel/ncurses/patches
cvs server: cannot find devel/ncurses/patches/patch-ab