summaryrefslogtreecommitdiff
path: root/devel/ncursesw
diff options
context:
space:
mode:
authorbjs <bjs>2007-10-30 05:33:07 +0000
committerbjs <bjs>2007-10-30 05:33:07 +0000
commit136034307ff825b5a0c01ec9279b8dc50e99651d (patch)
tree15bc5fdbd32ce4c5bef061125e3febff7ecd5eff /devel/ncursesw
parent28ec6336062eb08267761ba7899f0fa30084c6c1 (diff)
downloadpkgsrc-136034307ff825b5a0c01ec9279b8dc50e99651d.tar.gz
Add INSTALLATION_DIRS+=lib and prepand ${DESTDIR} to do-install:
destination paths so that DESTDIR installations work. I'm not bumping the revision because the resultant binaries should not be different; please let me know if I should've bumped it.
Diffstat (limited to 'devel/ncursesw')
-rw-r--r--devel/ncursesw/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/devel/ncursesw/Makefile b/devel/ncursesw/Makefile
index a2c6bf0b3e1..9322f647e59 100644
--- a/devel/ncursesw/Makefile
+++ b/devel/ncursesw/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2007/09/13 23:13:47 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2007/10/30 05:33:07 bjs Exp $
.include "../../devel/ncurses/Makefile.common"
@@ -12,14 +12,15 @@ 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 ${PREFIX}/include/ncursesw/ncurses.h
+ ${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 ${PREFIX}/lib; \
+ ${WRKSRC}/lib/lib$${LIB}w.la ${DESTDIR}${PREFIX}/lib; \
done
BUILDLINK_API_DEPENDS.ncurses+= ncurses-${NC_VERS}{,nb*}