From 5fef0134b7d47e1eaad7c759216126476613ca13 Mon Sep 17 00:00:00 2001 From: wiz Date: Tue, 16 Sep 2014 09:48:41 +0000 Subject: Install all needed header files and a -config script. Suggested by Thomas Dickey (upstream) implemented by Leonard Schmidt. Bump PKGREVISION. --- devel/ncursesw/Makefile | 9 +++++++-- devel/ncursesw/PLIST | 11 ++++++++++- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/devel/ncursesw/Makefile b/devel/ncursesw/Makefile index 82ce7e4c629..99a089947d1 100644 --- a/devel/ncursesw/Makefile +++ b/devel/ncursesw/Makefile @@ -1,16 +1,19 @@ -# $NetBSD: Makefile,v 1.9 2011/02/28 11:02:46 adam Exp $ +# $NetBSD: Makefile,v 1.10 2014/09/16 09:48:41 wiz Exp $ .include "../../devel/ncurses/Makefile.common" PKGNAME= ${DISTNAME:S/ncurses/ncursesw/} +PKGREVISION= 1 COMMENT= Wide character CRT screen handling and optimization package PATCHDIR= ${.CURDIR}/../../devel/ncurses/patches DISTINFO_FILE= ${.CURDIR}/../../devel/ncurses/distinfo CONFIGURE_ARGS+= --enable-widec +CONFIGURE_ARGS+= --includedir=${PREFIX}/include/ncursesw INSTALLATION_DIRS+= include/ncursesw +INSTALLATION_DIRS+= bin INSTALLATION_DIRS+= lib BUILD_TARGET= libs @@ -27,7 +30,9 @@ SUBST_SED.includes= -e 's,,,' SUBST_SED.includes+= -e 's,,,' do-install: - ${INSTALL_DATA} ${WRKSRC}/include/curses.h ${DESTDIR}${PREFIX}/include/ncursesw/ncurses.h + cd ${WRKSRC}/include && \ + ${MAKE_ENV} ${MAKE_PROGRAM} ${INSTALL_MAKE_FLAGS} install + ${INSTALL_SCRIPT} ${WRKSRC}/misc/ncurses-config ${DESTDIR}${PREFIX}/bin/ncursesw${NC_VERS:R}-config for LIB in form menu ncurses++ ncurses panel; do \ ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} \ ${WRKSRC}/lib/lib$${LIB}w.la ${DESTDIR}${PREFIX}/lib; \ diff --git a/devel/ncursesw/PLIST b/devel/ncursesw/PLIST index 79446fee462..55c57ff7117 100644 --- a/devel/ncursesw/PLIST +++ b/devel/ncursesw/PLIST @@ -1,5 +1,14 @@ -@comment $NetBSD: PLIST,v 1.4 2009/06/14 17:49:00 joerg Exp $ +@comment $NetBSD: PLIST,v 1.5 2014/09/16 09:48:41 wiz Exp $ +bin/ncursesw5-config +include/ncursesw/curses.h +include/ncursesw/nc_tparm.h include/ncursesw/ncurses.h +include/ncursesw/ncurses_dll.h +include/ncursesw/term.h +include/ncursesw/term_entry.h +include/ncursesw/termcap.h +include/ncursesw/tic.h +include/ncursesw/unctrl.h lib/libformw.la lib/libmenuw.la lib/libncurses++w.la -- cgit v1.2.3