diff options
author | pooka <pooka@pkgsrc.org> | 2000-02-18 14:37:43 +0000 |
---|---|---|
committer | pooka <pooka@pkgsrc.org> | 2000-02-18 14:37:43 +0000 |
commit | 7300f22d215328a084339ac1bf57ab06fd00894e (patch) | |
tree | 105b03030f1622605db13a112957d35eb05eb847 /editors/vim-xaw | |
parent | 46cef240454ecbf5db7a16423eb7678deb85f3b2 (diff) | |
download | pkgsrc-7300f22d215328a084339ac1bf57ab06fd00894e.tar.gz |
Do the same here that was done for vim-gtk, ie. fix solaris curses handling
and modify post-install into a tidy loop.
Diffstat (limited to 'editors/vim-xaw')
-rw-r--r-- | editors/vim-xaw/Makefile | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/editors/vim-xaw/Makefile b/editors/vim-xaw/Makefile index 6ab45682e7c..b76d6ecc851 100644 --- a/editors/vim-xaw/Makefile +++ b/editors/vim-xaw/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2000/01/25 17:13:19 pooka Exp $ +# $NetBSD: Makefile,v 1.6 2000/02/18 14:37:44 pooka Exp $ .include "../vim-share/Makefile.common" @@ -10,7 +10,7 @@ CONFLICTS= vim-[0-9]* vim-gtk-* USE_X11= yes USE_XAW= yes -CONFIGURE_ARGS+= --enable-gui=athena --with-tlib=ncurses +CONFIGURE_ARGS+= --enable-gui=athena CPPFLAGS+= -I${LOCALBASE}/include # for ncurses' termcap.h LDFLAGS+= -L${LOCALBASE}/lib # for -lncurses CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" @@ -22,19 +22,21 @@ INSTALL_TARGET= installvimbin .if (${OPSYS} == "NetBSD") DEPENDS+= ncurses>=4.2:../../devel/ncurses +CONFIGURE_ARGS+= --with-tlib=ncurses +.elif ${OPSYS} == "SunOS" +CPPFLAGS= +CONFIGURE_ARGS+= --with-tlib=curses .endif post-install: - ${LN} -fs vim.1 ${PREFIX}/man/man1/gvim.1 - ${LN} -fs vim.1 ${PREFIX}/man/man1/gview.1 - ${LN} -fs vim.1 ${PREFIX}/man/man1/rgvim.1 - ${LN} -fs vim.1 ${PREFIX}/man/man1/rgview.1 - ${LN} -fs vim ${PREFIX}/bin/gvim - ${LN} -fs vim ${PREFIX}/bin/gview - ${LN} -fs vim ${PREFIX}/bin/rgvim - ${LN} -fs vim ${PREFIX}/bin/rgview - ${LN} -fs vim ${PREFIX}/bin/rvim - ${LN} -fs vim ${PREFIX}/bin/rview + for f in gvim.1 gview.1 rgvim.1 rgview.1; do \ + ${RM} -f ${PREFIX}/man/man1/$$f; \ + ${LN} -s vim.1 ${PREFIX}/man/man1/$$f; \ + done + for f in gvim gview rgvim rgview rvim rview; do \ + ${RM} -f ${PREFIX}/bin/$$f; \ + ${LN} -s vim ${PREFIX}/bin/$$f; \ + done .include "../../mk/bsd.pkg.mk" |