2006-03-02 11:41:41 +01:00
|
|
|
# $NetBSD: Makefile,v 1.43 2006/03/02 10:41:41 martti Exp $
|
1999-12-21 14:26:28 +01:00
|
|
|
|
2002-03-24 20:38:25 +01:00
|
|
|
PKGNAME= vim-xaw-${VIM_VERSION}.${VIM_PATCHLEVEL}
|
2006-02-28 12:09:47 +01:00
|
|
|
#PKGREVISION= 1
|
2005-01-25 14:48:54 +01:00
|
|
|
|
2005-12-05 21:49:47 +01:00
|
|
|
.include "../../editors/vim-share/Makefile.common"
|
1999-12-21 14:26:28 +01:00
|
|
|
|
2001-02-16 15:38:16 +01:00
|
|
|
COMMENT= Vim editor (vi clone) with X11 Athena GUI
|
|
|
|
|
2005-07-19 12:11:48 +02:00
|
|
|
DEPENDS+= vim-share-${VIM_VERSION}.${VIM_PATCHLEVEL}{,nb*}:../../editors/vim-share
|
2003-06-02 10:26:02 +02:00
|
|
|
CONFLICTS+= vim-[0-9]* vim-gtk-[0-9]* vim-gtk2-[0-9]*
|
2005-01-06 21:39:28 +01:00
|
|
|
CONFLICTS+= vim-motif-[0-9]* vim-kde-[0-9]*
|
1999-12-21 14:26:28 +01:00
|
|
|
|
2000-02-18 15:37:43 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-gui=athena
|
2001-06-20 21:57:48 +02:00
|
|
|
CONFIGURE_ARGS+= --with-tlib=ncurses
|
1999-12-21 14:26:28 +01:00
|
|
|
|
2004-12-03 16:14:50 +01:00
|
|
|
BUILD_TARGET= vim
|
1999-12-21 14:26:28 +01:00
|
|
|
INSTALL_TARGET= installvimbin
|
|
|
|
|
2001-06-20 21:57:48 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2001-08-23 06:26:51 +02:00
|
|
|
.if defined(XAW_TYPE) && (${XAW_TYPE} == "3d" || ${XAW_TYPE} == "xpm")
|
2003-01-05 00:00:56 +01:00
|
|
|
MAKE_ENV+= XAW_LIB="Xaw3d"
|
2001-06-20 21:57:48 +02:00
|
|
|
.else
|
2001-08-23 06:26:51 +02:00
|
|
|
XAW_TYPE= standard
|
2003-01-05 00:00:56 +01:00
|
|
|
MAKE_ENV+= XAW_LIB="Xaw"
|
2001-06-20 21:57:48 +02:00
|
|
|
.endif
|
|
|
|
|
2004-04-25 03:46:11 +02:00
|
|
|
LIBS+= -lXaw
|
|
|
|
|
1999-12-21 14:26:28 +01:00
|
|
|
post-install:
|
2006-03-02 11:41:41 +01:00
|
|
|
.for f in gvim.1 gview.1 rgvim.1 rgview.1
|
|
|
|
${RM} -f ${PREFIX:Q}/man/man1/${f:Q}
|
|
|
|
${LN} -s vim.1 ${PREFIX:Q}/man/man1/${f:Q}
|
|
|
|
.endfor
|
|
|
|
.for f in gvim gview rgvim rgview rvim rview
|
|
|
|
${RM} -f ${PREFIX:Q}/bin/${f:Q}
|
|
|
|
${LN} -s vim ${PREFIX:Q}/bin/${f:Q}
|
|
|
|
.endfor
|
1999-12-21 14:26:28 +01:00
|
|
|
|
2004-04-25 03:46:11 +02:00
|
|
|
.include "../../devel/ncurses/buildlink3.mk"
|
|
|
|
.include "../../graphics/xpm/buildlink3.mk"
|
|
|
|
.include "../../mk/xaw.buildlink3.mk"
|
2002-09-14 02:10:45 +02:00
|
|
|
|
2000-11-02 04:25:32 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|