pkgsrc/editors/vim-xaw/Makefile
jlam a9f08159c4 Back out last change related to moving ncurses/buildlink2.mk to
curses.buildlink2.mk.  This was wrong because we _really_ do want to
express that we want _n_curses when we include the buildlink2.mk file.

We should have a better way to say that the NetBSD curses doesn't
quite work well enough.  In fact, it's far better to depend on ncurses
by default, and exceptionally note when it's okay to use NetBSD curses
for specific packages.  We will look into this again in the future.
2003-09-28 09:13:55 +00:00

44 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.28 2003/09/28 09:13:57 jlam Exp $
.include "../vim-share/Makefile.common"
PKGNAME= vim-xaw-${VIM_VERSION}.${VIM_PATCHLEVEL}
PKGREVISION= 1
COMMENT= Vim editor (vi clone) with X11 Athena GUI
DEPENDS+= vim-share-${VIM_VERSION}.${VIM_PATCHLEVEL}:../vim-share
CONFLICTS+= vim-[0-9]* vim-gtk-[0-9]* vim-gtk2-[0-9]*
CONFLICTS+= vim-motif-[0-9]*
USE_X11= yes
CONFIGURE_ARGS+= --enable-gui=athena
CONFIGURE_ARGS+= --with-tlib=ncurses
ALL_TARGET= vim
INSTALL_TARGET= installvimbin
.include "../../mk/bsd.prefs.mk"
.if defined(XAW_TYPE) && (${XAW_TYPE} == "3d" || ${XAW_TYPE} == "xpm")
MAKE_ENV+= XAW_LIB="Xaw3d"
.else
XAW_TYPE= standard
MAKE_ENV+= XAW_LIB="Xaw"
.endif
post-install:
for f in gvim.1 gview.1 rgvim.1 rgview.1; do \
${RM} -f ${PREFIX}/man/man1/$$f; \
${LN} -s vim.1 ${PREFIX}/man/man1/$$f; \
done
for f in gvim gview rgvim rgview rvim rview; do \
${RM} -f ${PREFIX}/bin/$$f; \
${LN} -s vim ${PREFIX}/bin/$$f; \
done
.include "../../devel/ncurses/buildlink2.mk"
.include "../../graphics/xpm/buildlink2.mk"
.include "../../mk/xaw.buildlink2.mk"
.include "../../mk/bsd.pkg.mk"