diff options
Diffstat (limited to 'devel/ncursesw')
-rw-r--r-- | devel/ncursesw/DESCR | 5 | ||||
-rw-r--r-- | devel/ncursesw/Makefile | 27 | ||||
-rw-r--r-- | devel/ncursesw/PLIST | 6 | ||||
-rw-r--r-- | devel/ncursesw/buildlink3.mk | 24 |
4 files changed, 62 insertions, 0 deletions
diff --git a/devel/ncursesw/DESCR b/devel/ncursesw/DESCR new file mode 100644 index 00000000000..729741b871d --- /dev/null +++ b/devel/ncursesw/DESCR @@ -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 --git a/devel/ncursesw/Makefile b/devel/ncursesw/Makefile new file mode 100644 index 00000000000..20ea4625797 --- /dev/null +++ b/devel/ncursesw/Makefile @@ -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 --git a/devel/ncursesw/PLIST b/devel/ncursesw/PLIST new file mode 100644 index 00000000000..9404a10258d --- /dev/null +++ b/devel/ncursesw/PLIST @@ -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 --git a/devel/ncursesw/buildlink3.mk b/devel/ncursesw/buildlink3.mk new file mode 100644 index 00000000000..47e26e8b2d6 --- /dev/null +++ b/devel/ncursesw/buildlink3.mk @@ -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/+$//} |