2001-01-08 14:23:53 +01:00
|
|
|
# $NetBSD: Makefile,v 1.36 2001/01/08 13:23:53 wiz Exp $
|
1998-02-19 22:47:54 +01:00
|
|
|
|
1999-12-21 14:18:05 +01:00
|
|
|
.include "../vim-share/Makefile.common"
|
1998-02-19 22:47:54 +01:00
|
|
|
|
1999-12-21 14:18:05 +01:00
|
|
|
PKGNAME= vim-${VIM_VERSION}
|
1998-02-19 22:47:54 +01:00
|
|
|
|
1999-12-21 14:18:05 +01:00
|
|
|
DEPENDS+= vim-share-${VIM_VERSION}:../vim-share
|
1999-08-08 11:31:18 +02:00
|
|
|
|
1999-12-21 14:18:05 +01:00
|
|
|
CONFLICTS= vim-xaw-* vim-gtk-*
|
1998-02-19 22:47:54 +01:00
|
|
|
|
2000-02-18 15:37:43 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-gui=no --without-x
|
1999-12-21 14:18:05 +01:00
|
|
|
|
2000-07-28 12:33:56 +02:00
|
|
|
USE_CURSES= yes
|
|
|
|
|
1999-12-21 14:18:05 +01:00
|
|
|
ALL_TARGET= vim
|
|
|
|
INSTALL_TARGET= installvimbin
|
1999-11-25 21:20:32 +01:00
|
|
|
|
1999-12-21 14:18:05 +01:00
|
|
|
post-install:
|
2000-02-18 15:37:43 +01:00
|
|
|
for f in rvim rview ; do \
|
|
|
|
${RM} -f ${PREFIX}/bin/$$f; \
|
|
|
|
${LN} -s vim ${PREFIX}/bin/$$f; \
|
|
|
|
done
|
1999-11-29 00:50:37 +01:00
|
|
|
|
2000-11-02 04:25:32 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
2000-07-28 12:33:56 +02:00
|
|
|
|
|
|
|
.if ${NEED_NCURSES} == "YES"
|
|
|
|
CONFIGURE_ARGS+= --with-tlib=ncurses
|
2001-01-08 14:23:53 +01:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include # for ncurses' termcap.h
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib # for -lncurses
|
|
|
|
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
|
2000-07-28 12:33:56 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --with-tlib=curses
|
|
|
|
.endif
|
2000-11-02 04:25:32 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|