pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/ncursesw Install all needed header files and a -...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/89d12570b482
branches:  trunk
changeset: 639545:89d12570b482
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Sep 16 09:48:41 2014 +0000

description:
Install all needed header files and a -config script.
Suggested by Thomas Dickey (upstream)
implemented by Leonard Schmidt.

Bump PKGREVISION.

diffstat:

 devel/ncursesw/Makefile |   9 +++++++--
 devel/ncursesw/PLIST    |  11 ++++++++++-
 2 files changed, 17 insertions(+), 3 deletions(-)

diffs (54 lines):

diff -r 17abd8262dd0 -r 89d12570b482 devel/ncursesw/Makefile
--- a/devel/ncursesw/Makefile   Tue Sep 16 09:45:58 2014 +0000
+++ b/devel/ncursesw/Makefile   Tue Sep 16 09:48:41 2014 +0000
@@ -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,<unctrl\.h>,<ncurses/unctrl\.h>,'
 
 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 -r 17abd8262dd0 -r 89d12570b482 devel/ncursesw/PLIST
--- a/devel/ncursesw/PLIST      Tue Sep 16 09:45:58 2014 +0000
+++ b/devel/ncursesw/PLIST      Tue Sep 16 09:48:41 2014 +0000
@@ -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



Home | Main Index | Thread Index | Old Index