# $NetBSD: Makefile,v 1.34 2000/07/28 10:33:57 wiz Exp $ .include "../vim-share/Makefile.common" PKGNAME= vim-${VIM_VERSION} DEPENDS+= vim-share-${VIM_VERSION}:../vim-share CONFLICTS= vim-xaw-* vim-gtk-* CONFIGURE_ARGS+= --enable-gui=no --without-x CPPFLAGS+= -I${LOCALBASE}/include # for ncurses' termcap.h LDFLAGS+= -L${LOCALBASE}/lib # for -lncurses CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" USE_CURSES= yes ALL_TARGET= vim INSTALL_TARGET= installvimbin post-install: for f in rvim rview ; do \ ${RM} -f ${PREFIX}/bin/$$f; \ ${LN} -s vim ${PREFIX}/bin/$$f; \ done .include "../../mk/bsd.pkg.mk" .if ${NEED_NCURSES} == "YES" CONFIGURE_ARGS+= --with-tlib=ncurses .else CPPFLAGS= CONFIGURE_ARGS+= --with-tlib=curses .endif