pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel Add "ncursesw" package:
details: https://anonhg.NetBSD.org/pkgsrc/rev/9f44d3a11ada
branches: trunk
changeset: 520005:9f44d3a11ada
user: tron <tron%pkgsrc.org@localhost>
date: Fri Oct 13 18:07:49 2006 +0000
description:
Add "ncursesw" package:
Wide character CRT screen handling and optimization package
This package brings us one step closer to fixing PR pkg/34777.
diffstat:
devel/ncurses/Makefile | 48 +++---------------------------------------
devel/ncurses/Makefile.common | 44 +++++++++++++++++++++++++++++++++++++++
devel/ncursesw/DESCR | 5 ++++
devel/ncursesw/Makefile | 27 ++++++++++++++++++++++++
devel/ncursesw/PLIST | 6 +++++
devel/ncursesw/buildlink3.mk | 24 +++++++++++++++++++++
6 files changed, 110 insertions(+), 44 deletions(-)
diffs (183 lines):
diff -r c75cde2746d7 -r 9f44d3a11ada devel/ncurses/Makefile
--- a/devel/ncurses/Makefile Fri Oct 13 18:05:42 2006 +0000
+++ b/devel/ncurses/Makefile Fri Oct 13 18:07:49 2006 +0000
@@ -1,49 +1,9 @@
-# $NetBSD: Makefile,v 1.72 2006/10/08 17:16:59 wiz Exp $
-
-DISTNAME= ncurses-${NC_VERS}
-NC_VERS= 5.5
-PKGREVISION= 1
-CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_GNU:=ncurses/} \
- ftp://dickey.his.com/ncurses/ \
- ftp://dickey.his.com/ncurses/${NC_VERS}/
-
-MAINTAINER= pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE= http://dickey.his.com/ncurses/ncurses.html
-COMMENT= CRT screen handling and optimization package
-
-PKG_INSTALLATION_TYPES= overwrite pkgviews
-
-USE_LANGUAGES= c c++
-USE_LIBTOOL= YES
-USE_TOOLS+= tbl
+# $NetBSD: Makefile,v 1.73 2006/10/13 18:07:49 tron Exp $
-GNU_CONFIGURE= YES
-CONFIGURE_ARGS+= --with-libtool
-CONFIGURE_ARGS+= --enable-bsdpad
-CONFIGURE_ARGS+= --enable-overwrite
-CONFIGURE_ARGS+= --with-cxx-binding
-CONFIGURE_ARGS+= --without-ada
-CONFIGURE_ARGS+= --without-curses-h
-CONFIGURE_ARGS+= --without-gpm
-CONFIGURE_ARGS+= --with-manpage-format=normal
-CONFIGURE_ARGS+= --with-manpage-tbl
-
-.include "../../mk/bsd.prefs.mk"
+.include "Makefile.common"
-.if ${OPSYS} == "SunOS"
-PLIST_SUBST+= NOT_SUNOS="@comment "
-TERMINFO_SRC= ${WRKSRC}/misc/terminfo.src
-TERMINFODIR= share/lib/terminfo
-.else
-PLIST_SUBST+= NOT_SUNOS=""
-TERMINFODIR= share/terminfo
-.endif
-
-PLIST_SUBST+= TERMINFODIR=${TERMINFODIR:Q}
-
-CONFIGURE_ARGS+= --with-default-terminfo-dir=${PREFIX}/${TERMINFODIR}
-CONFIGURE_ARGS+= --with-terminfo-dirs=${PREFIX}/${TERMINFODIR}
+PKGREVISION= 1
+COMMENT= CRT screen handling and optimization package
INSTALLATION_DIRS= share/examples
diff -r c75cde2746d7 -r 9f44d3a11ada devel/ncurses/Makefile.common
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ncurses/Makefile.common Fri Oct 13 18:07:49 2006 +0000
@@ -0,0 +1,44 @@
+# $NetBSD: Makefile.common,v 1.1 2006/10/13 18:07:49 tron Exp $
+
+DISTNAME= ncurses-${NC_VERS}
+NC_VERS= 5.5
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GNU:=ncurses/} \
+ ftp://dickey.his.com/ncurses/ \
+ ftp://dickey.his.com/ncurses/${NC_VERS}/
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://dickey.his.com/ncurses/ncurses.html
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+USE_LANGUAGES= c c++
+USE_LIBTOOL= YES
+USE_TOOLS+= tbl
+
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS+= --with-libtool
+CONFIGURE_ARGS+= --enable-bsdpad
+CONFIGURE_ARGS+= --enable-overwrite
+CONFIGURE_ARGS+= --with-cxx-binding
+CONFIGURE_ARGS+= --without-ada
+CONFIGURE_ARGS+= --without-curses-h
+CONFIGURE_ARGS+= --without-gpm
+CONFIGURE_ARGS+= --with-manpage-format=normal
+CONFIGURE_ARGS+= --with-manpage-tbl
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+PLIST_SUBST+= NOT_SUNOS="@comment "
+TERMINFO_SRC= ${WRKSRC}/misc/terminfo.src
+TERMINFODIR= share/lib/terminfo
+.else
+PLIST_SUBST+= NOT_SUNOS=""
+TERMINFODIR= share/terminfo
+.endif
+
+PLIST_SUBST+= TERMINFODIR=${TERMINFODIR:Q}
+
+CONFIGURE_ARGS+= --with-default-terminfo-dir=${PREFIX}/${TERMINFODIR}
+CONFIGURE_ARGS+= --with-terminfo-dirs=${PREFIX}/${TERMINFODIR}
diff -r c75cde2746d7 -r 9f44d3a11ada devel/ncursesw/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ncursesw/DESCR Fri Oct 13 18:07:49 2006 +0000
@@ -0,0 +1,5 @@
+The ncurses (new curses) library is a free software emulation of
+curses in System V Release 4.0, and more. It uses terminfo format,
+supports pads and color and multiple highlights and forms characters
+and function-key mapping, and has all the other SYSV-curses
+enhancements over BSD curses.
diff -r c75cde2746d7 -r 9f44d3a11ada devel/ncursesw/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ncursesw/Makefile Fri Oct 13 18:07:49 2006 +0000
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2006/10/13 18:07:49 tron 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
+
+BUILD_TARGET= libs
+
+do-install:
+ for LIB in form menu ncurses++ ncurses panel; do \
+ ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} \
+ ${WRKSRC}/lib/lib$${LIB}w.la ${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"
diff -r c75cde2746d7 -r 9f44d3a11ada devel/ncursesw/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ncursesw/PLIST Fri Oct 13 18:07:49 2006 +0000
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1 2006/10/13 18:07:49 tron Exp $
+lib/libformw.la
+lib/libmenuw.la
+lib/libncurses++w.la
+lib/libncursesw.la
+lib/libpanelw.la
diff -r c75cde2746d7 -r 9f44d3a11ada devel/ncursesw/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ncursesw/buildlink3.mk Fri Oct 13 18:07:49 2006 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: buildlink3.mk,v 1.1 2006/10/13 18:07:49 tron Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+NCURSESW_BUILDLINK3_MK:=${NCURSESW_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= ncursesw
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nncursesw}
+BUILDLINK_PACKAGES+= ncursesw
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}ncursesw
+
+.if !empty(NCURSESW_BUILDLINK3_MK:M+)
+BUILDLINK_API_DEPENDS.ncursesw+= ncursesw>=5.5
+BUILDLINK_ABI_DEPENDS.ncursesw+= ncursesw>=5.5
+BUILDLINK_PKGSRCDIR.ncursesw?= ../../devel/ncursesw
+.endif # NCURSESW_BUILDLINK3_MK
+
+USE_NCURSES= YES
+
+.include "../../devel/ncurses/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
Home |
Main Index |
Thread Index |
Old Index