blob: e022dfdad6fb1f253c2c68db036b37653a2e2ace (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# $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
|