diff options
author | jlam <jlam@pkgsrc.org> | 2001-06-20 19:57:48 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-06-20 19:57:48 +0000 |
commit | 92e537c42b3cb5a6d8d3f78ac5b8e3cdae61bc1b (patch) | |
tree | 361f367cb2e3bab0ad58dbf4411f2b31b123470f /editors/vim-xaw/Makefile | |
parent | a4d2df0fc57a5e20a4a1c9b9a87a855de632bd33 (diff) | |
download | pkgsrc-92e537c42b3cb5a6d8d3f78ac5b8e3cdae61bc1b.tar.gz |
Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY.
Diffstat (limited to 'editors/vim-xaw/Makefile')
-rw-r--r-- | editors/vim-xaw/Makefile | 31 |
1 files changed, 13 insertions, 18 deletions
diff --git a/editors/vim-xaw/Makefile b/editors/vim-xaw/Makefile index 5e066585951..ebd2c5e07b3 100644 --- a/editors/vim-xaw/Makefile +++ b/editors/vim-xaw/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2001/06/11 06:34:31 jlam Exp $ +# $NetBSD: Makefile,v 1.13 2001/06/20 19:57:48 jlam Exp $ .include "../vim-share/Makefile.common" @@ -11,13 +11,23 @@ CONFLICTS= vim-[0-9]* vim-gtk-* USE_X11= yes USE_XAW= yes -USE_CURSES= yes +USE_BUILDLINK_ONLY= yes CONFIGURE_ARGS+= --enable-gui=athena +CONFIGURE_ARGS+= --with-tlib=ncurses ALL_TARGET= vim INSTALL_TARGET= installvimbin +.include "../../mk/bsd.prefs.mk" + +.if (${XAW_TYPE} == "standard") +MAKE_ENV+= XAW_LIB=Xaw +.else +.include "../../x11/Xaw3d/buildlink.mk" +MAKE_ENV+= XAW_LIB=Xaw3d +.endif + post-install: for f in gvim.1 gview.1 rgvim.1 rgview.1; do \ ${RM} -f ${PREFIX}/man/man1/$$f; \ @@ -28,20 +38,5 @@ post-install: ${LN} -s vim ${PREFIX}/bin/$$f; \ done -.include "../../mk/bsd.prefs.mk" - -.if ${NEED_NCURSES} == "YES" -CONFIGURE_ARGS+= --with-tlib=ncurses -CPPFLAGS+= -I${LOCALBASE}/include # for ncurses' termcap.h -LDFLAGS+= -L${LOCALBASE}/lib # for -lncurses -.else -CONFIGURE_ARGS+= --with-tlib=curses -.endif - +.include "../../devel/ncurses/buildlink.mk" .include "../../mk/bsd.pkg.mk" - -.if (${XAW_TYPE} == "standard") -MAKE_ENV+= XAW_LIB=Xaw -.else -MAKE_ENV+= XAW_LIB=Xaw3d -.endif |