summaryrefslogtreecommitdiff
path: root/devel/ncursesw
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2011-02-28 11:02:46 +0000
committeradam <adam@pkgsrc.org>2011-02-28 11:02:46 +0000
commit6abd5459f9e0349eeaa2df6ccbced179f7173861 (patch)
treeb49123be763dc8e75b83470e0f08f169b97d36dc /devel/ncursesw
parent77c6b9a7497e6db515c06576899eaba4125340b3 (diff)
downloadpkgsrc-6abd5459f9e0349eeaa2df6ccbced179f7173861.tar.gz
Changes 5.8:
Interface changes * turn on _XOPEN_CURSES definition in curses.h. * change _nc_has_mouse to has_mouse, reflect its use in C++ and Ada95. * add is_pad and is_subwin functions for opaque access to the WINDOW structure. * add tiparm, based on review of X/Open Curses Issue 7. Library Improvements * add a terminal driver for Windows console, which supports a MinGW port to Windows. * add extended functions which specify the SCREEN pointer for several curses functions which use the global SP. * improve the NCURSES_NO_UTF8_ACS feature by adding a check for an extended terminfo capability U8. * improve performance of tigetstr, etc., by using hashing code from tic. * add WACS_xxx definitions to wide-character configuration for thick- and double-lines. * modify init_pair to allow caller to create extra color pairs beyond the color_pairs limit, which use default colors. Improvements to Programs * add tabs program. * modify tic's -I/-C dump to reformat acsc strings into canonical form (sorted, unique mapping). * add checks in tic for inconsistent cursor-movement controls, and for inconsistent printer-controls. * add special case to _nc_infotocap (used by tic and infocmp) to recognize the setaf/setab strings from xterm+256color and xterm+88color, and provide a reduced version which works with termcap.
Diffstat (limited to 'devel/ncursesw')
-rw-r--r--devel/ncursesw/Makefile7
-rw-r--r--devel/ncursesw/builtin.mk6
2 files changed, 6 insertions, 7 deletions
diff --git a/devel/ncursesw/Makefile b/devel/ncursesw/Makefile
index 5ae73fb637d..82ce7e4c629 100644
--- a/devel/ncursesw/Makefile
+++ b/devel/ncursesw/Makefile
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.8 2010/07/26 05:47:45 dholland Exp $
+# $NetBSD: Makefile,v 1.9 2011/02/28 11:02:46 adam Exp $
.include "../../devel/ncurses/Makefile.common"
PKGNAME= ${DISTNAME:S/ncurses/ncursesw/}
-PKGREVISION= 4
COMMENT= Wide character CRT screen handling and optimization package
PATCHDIR= ${.CURDIR}/../../devel/ncurses/patches
@@ -24,8 +23,8 @@ SUBST_CLASSES+= includes
SUBST_MESSAGE.includes= Fixing include paths for ncurses headers.
SUBST_STAGE.includes= post-build
SUBST_FILES.includes= include/curses.h
-SUBST_SED.includes= -e 's,<ncurses_dll\.h>,<ncurses/ncurses_dll\.h>,' \
- -e 's,<unctrl\.h>,<ncurses/unctrl\.h>,'
+SUBST_SED.includes= -e 's,<ncurses_dll\.h>,<ncurses/ncurses_dll\.h>,'
+SUBST_SED.includes+= -e 's,<unctrl\.h>,<ncurses/unctrl\.h>,'
do-install:
${INSTALL_DATA} ${WRKSRC}/include/curses.h ${DESTDIR}${PREFIX}/include/ncursesw/ncurses.h
diff --git a/devel/ncursesw/builtin.mk b/devel/ncursesw/builtin.mk
index 6fcd8bd99c8..9c4ed179c20 100644
--- a/devel/ncursesw/builtin.mk
+++ b/devel/ncursesw/builtin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.9 2010/02/25 16:01:47 drochner Exp $
+# $NetBSD: builtin.mk,v 1.10 2011/02/28 11:02:46 adam Exp $
BUILTIN_PKG:= ncursesw
@@ -147,10 +147,10 @@ buildlink-ncursesw-curses-h:
${RUN} \
curses_h="ncursesw/ncurses.h curses.h"; \
for f in $$curses_h; do \
- src=${BUILDLINK_PREFIX.ncursesw:Q}"/include/$$f"; \
+ src=${BUILDLINK_PREFIX.ncursesw}"/include/$$f"; \
dests="ncursesw/ncurses.h ncursesw/curses.h ncurses.h curses.h"; \
for dest in $$dests; do \
- dest=${BUILDLINK_DIR:Q}"/include/$$dest"; \
+ dest=${BUILDLINK_DIR}"/include/$$dest"; \
if ${TEST} -f "$$src"; then \
${ECHO_BUILDLINK_MSG} "Linking $$dest -> $$f."; \
${MKDIR} `${DIRNAME} "$$dest"`; \