summaryrefslogtreecommitdiff
path: root/package/ncurses/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/ncurses/Makefile')
-rw-r--r--package/ncurses/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/package/ncurses/Makefile b/package/ncurses/Makefile
index dcdef3763..9dd44d4cc 100644
--- a/package/ncurses/Makefile
+++ b/package/ncurses/Makefile
@@ -66,11 +66,10 @@ post-install:
${INSTALL_DIR} ${IDIR_LIBNCURSES}/usr/lib
${CP} ${WRKINST}/usr/lib/lib{form,menu,ncurses,panel}.so* \
${IDIR_LIBNCURSES}/usr/lib
- for f in a/ansi d/dumb l/linux r/rxvt s/screen v/vt100 v/vt102 \
- v/vt220 w/wsvt25 x/xterm x/xterm-color x/xterm-xfree86; do \
- ${INSTALL_DIR} \
- ${IDIR_LIBNCURSES}/usr/share/terminfo/$$(dirname $$f); \
- ${INSTALL_DATA} ${WRKINST}/usr/share/terminfo/$$f \
+ ${INSTALL_DIR} ${IDIR_LIBNCURSES}/usr/share/terminfo/
+ for f in ansi dumb linux rxvt screen vt100 vt102 \
+ vt220 wsvt25 xterm xterm-color xterm-xfree86; do \
+ ${INSTALL_DATA} ${WRKINST}/usr/share/terminfo/*/$$f \
${IDIR_LIBNCURSES}/usr/share/terminfo/$$f; \
done
${INSTALL_DIR} ${IDIR_LIBNCURSES_DEV}/usr/include