e4ce8f339e
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.
42 lines
1.2 KiB
Makefile
42 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.9 2011/02/28 11:02:46 adam Exp $
|
|
|
|
.include "../../devel/ncurses/Makefile.common"
|
|
|
|
PKGNAME= ${DISTNAME:S/ncurses/ncursesw/}
|
|
COMMENT= Wide character CRT screen handling and optimization package
|
|
|
|
PATCHDIR= ${.CURDIR}/../../devel/ncurses/patches
|
|
DISTINFO_FILE= ${.CURDIR}/../../devel/ncurses/distinfo
|
|
|
|
CONFIGURE_ARGS+= --enable-widec
|
|
|
|
INSTALLATION_DIRS+= include/ncursesw
|
|
INSTALLATION_DIRS+= lib
|
|
|
|
BUILD_TARGET= libs
|
|
|
|
.if ${OPSYS} == "SunOS"
|
|
CXXFLAGS+= -D_XPG5
|
|
.endif
|
|
|
|
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>,'
|
|
SUBST_SED.includes+= -e 's,<unctrl\.h>,<ncurses/unctrl\.h>,'
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/include/curses.h ${DESTDIR}${PREFIX}/include/ncursesw/ncurses.h
|
|
for LIB in form menu ncurses++ ncurses panel; do \
|
|
${LIBTOOL} --mode=install ${INSTALL_PROGRAM} \
|
|
${WRKSRC}/lib/lib$${LIB}w.la ${DESTDIR}${PREFIX}/lib; \
|
|
done
|
|
|
|
BUILDLINK_API_DEPENDS.ncurses+= ncurses-${NC_VERS}{,nb*}
|
|
BUILDLINK_ABI_DEPENDS.ncurses+= ncurses-${NC_VERS}{,nb*}
|
|
USE_NCURSES= yes
|
|
|
|
.include "../../devel/ncurses/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|