2011-04-22 15:41:54 +02:00
|
|
|
# $NetBSD: Makefile,v 1.70 2011/04/22 13:43:28 obache Exp $
|
1998-02-19 22:47:54 +01:00
|
|
|
|
2002-03-24 20:38:25 +01:00
|
|
|
PKGNAME= vim-${VIM_VERSION}.${VIM_PATCHLEVEL}
|
2011-04-22 15:41:54 +02:00
|
|
|
PKGREVISION= 1
|
1998-02-19 22:47:54 +01:00
|
|
|
|
2003-08-10 05:15:28 +02:00
|
|
|
COMMENT= Vim editor (vi clone) without GUI
|
2001-02-16 15:38:16 +01:00
|
|
|
|
2008-01-04 00:18:07 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2005-10-23 16:13:50 +02:00
|
|
|
.include "../../editors/vim-share/Makefile.common"
|
2005-01-25 14:48:54 +01:00
|
|
|
|
2005-07-19 12:11:48 +02:00
|
|
|
DEPENDS+= vim-share-${VIM_VERSION}.${VIM_PATCHLEVEL}{,nb*}:../../editors/vim-share
|
1999-08-08 11:31:18 +02:00
|
|
|
|
2003-06-02 10:26:02 +02:00
|
|
|
CONFLICTS+= vim-gtk-[0-9]* vim-gtk2-[0-9]* vim-motif-[0-9]*
|
2005-01-06 21:39:28 +01:00
|
|
|
CONFLICTS+= vim-xaw-[0-9]* vim-kde-[0-9]*
|
1998-02-19 22:47:54 +01:00
|
|
|
|
2001-06-20 20:59:37 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-gui=no --without-x
|
2008-03-02 17:01:31 +01:00
|
|
|
CONFIGURE_ARGS+= --with-tlib=${BUILDLINK_LIBNAME.termcap}
|
2000-07-28 12:33:56 +02:00
|
|
|
|
2004-12-03 16:14:50 +01:00
|
|
|
BUILD_TARGET= vim
|
1999-12-21 14:18:05 +01:00
|
|
|
INSTALL_TARGET= installvimbin
|
2006-02-10 21:56:57 +01:00
|
|
|
TEST_TARGET= check
|
1999-11-25 21:20:32 +01:00
|
|
|
|
1999-12-21 14:18:05 +01:00
|
|
|
post-install:
|
2006-03-02 11:41:41 +01:00
|
|
|
.for f in rvim rview
|
2008-01-09 14:47:42 +01:00
|
|
|
${RM} -f ${DESTDIR}${PREFIX}/bin/${f}
|
|
|
|
${LN} -s vim ${DESTDIR}${PREFIX}/bin/${f}
|
2006-03-02 11:41:41 +01:00
|
|
|
.endfor
|
1999-11-29 00:50:37 +01:00
|
|
|
|
2004-04-25 03:46:11 +02:00
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
2008-03-02 17:01:31 +01:00
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
|
|
.include "../../mk/termcap.buildlink3.mk"
|
2000-11-02 04:25:32 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|