summaryrefslogtreecommitdiff
path: root/editors/vim/Makefile
diff options
context:
space:
mode:
authorpooka <pooka@pkgsrc.org>1999-12-21 13:18:05 +0000
committerpooka <pooka@pkgsrc.org>1999-12-21 13:18:05 +0000
commite4038c12efab90d913075f6200e0feade7aec052 (patch)
tree764a49738c91001d4e89fe3d51afaee4a7feb979 /editors/vim/Makefile
parent9c3a9280fd8ef42120a475e805fff2da84a8fbe9 (diff)
downloadpkgsrc-e4038c12efab90d913075f6200e0feade7aec052.tar.gz
Make way for a new glorious vim package structure
Diffstat (limited to 'editors/vim/Makefile')
-rw-r--r--editors/vim/Makefile47
1 files changed, 19 insertions, 28 deletions
diff --git a/editors/vim/Makefile b/editors/vim/Makefile
index bdd97e0a6c7..2963cfd081d 100644
--- a/editors/vim/Makefile
+++ b/editors/vim/Makefile
@@ -1,40 +1,31 @@
-# $NetBSD: Makefile,v 1.26 1999/11/28 23:50:37 tron Exp $
+# $NetBSD: Makefile,v 1.27 1999/12/21 13:18:05 pooka Exp $
-DISTNAME= vim-5.5
-CATEGORIES= editors
-MASTER_SITES= ftp://ftp.vim.org/pub/editors/vim/unix/ \
- ftp://ftp.nuxi.com/pub/vim/unix/ \
- ftp://ftp.fu-berlin.de/misc/editors/vim/unix/ \
- ftp://ftp.medasys-digital-systems.fr/pub/vim/unix/ \
- ftp://ftp.progsoc.uts.edu.au/pub/vim/unix/
-DISTFILES= ${DISTNAME}-src${EXTRACT_SUFX} \
- ${DISTNAME}-rt${EXTRACT_SUFX}
+.include "../vim-share/Makefile.common"
-MAINTAINER= pooka@iki.fi
-HOMEPAGE= http://www.vim.org/
+PKGNAME= vim-${VIM_VERSION}
-CONFLICTS= vim-gtk-*
+DEPENDS+= vim-share-${VIM_VERSION}:../vim-share
-GNU_CONFIGURE= yes
-USE_X11= yes
-USE_XAW= yes
-CONFIGURE_ARGS+= --enable-gui=athena --with-tlib=ncurses
-CPPFLAGS+= -I${LOCALBASE}/include # for ncurses' termcap.h
-LDFLAGS+= -L${LOCALBASE}/lib # for -lncurses
-CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
+CONFLICTS= vim-xaw-* vim-gtk-*
-WRKSRC= ${WRKDIR}/${DISTNAME}/src
+CONFIGURE_ARGS+= --disable-gui --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
+DEPENDS+= ncurses-4.2:../../devel/ncurses
.endif
-.include "../../mk/bsd.pkg.mk"
+post-install:
+ @${LN} ${PREFIX}/bin/vim ${PREFIX}/bin/ex
+ @${LN} ${PREFIX}/bin/vim ${PREFIX}/bin/view
+ @${LN} ${PREFIX}/bin/vim ${PREFIX}/bin/rvim
+ @${LN} ${PREFIX}/bin/vim ${PREFIX}/bin/rview
-.if (${XAW_TYPE} == "standard")
-MAKE_ENV+= XAW_LIB=Xaw
-.else
-MAKE_ENV+= XAW_LIB=Xaw3d
-.endif
+.include "../../mk/bsd.pkg.mk"