blob: 6ef741e3d30fba170bd4530e3e57b4f6881613f4 (
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
35
36
37
38
39
40
41
42
43
|
# $NetBSD: Makefile,v 1.9 1999/12/21 17:25:18 tron Exp $
.include "../vim-share/Makefile.common"
PKGNAME= vim-gtk-${VIM_VERSION}
DEPENDS+= vim-share-${VIM_VERSION}:../vim-share \
gtk+-1.2.*:../../x11/gtk
CONFLICTS= vim-[0-9]* vim-gtk-*
DISTFILES+= ${DISTNAME}-rt${EXTRACT_SUFX}
USE_X11= yes
CONFIGURE_ARGS+= --enable-gui=gtk --with-tlib=ncurses
CPPFLAGS+= -I${LOCALBASE}/include # for ncurses' termcap.h
LDFLAGS+= -L${LOCALBASE}/lib # for -lncurses
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
ALL_TARGET= vim
INSTALL_TARGET= installvimbin
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
DEPENDS+= ncurses-4.2:../../devel/ncurses
.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/ex
${LN} -fs vim ${PREFIX}/bin/view
${LN} -fs vim ${PREFIX}/bin/rvim
${LN} -fs vim ${PREFIX}/bin/rview
.include "../../mk/bsd.pkg.mk"
|