# $NetBSD: Makefile,v 1.4 2007/12/11 05:27:05 bjs Exp $ .include "../../devel/ncurses/Makefile.common" PKGNAME= ${DISTNAME:S/ncurses/ncursesw/} PKGREVISION= 2 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 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"