diff options
author | pooka <pooka> | 1999-12-21 13:26:28 +0000 |
---|---|---|
committer | pooka <pooka> | 1999-12-21 13:26:28 +0000 |
commit | d1d8d881616ae83293f50d129fde425e85010fad (patch) | |
tree | 61108f2529fb1404c252177637c84461ae5a2eab /editors | |
parent | 13fcc61a33f50cda191096bd4995c8368eecf857 (diff) | |
download | pkgsrc-d1d8d881616ae83293f50d129fde425e85010fad.tar.gz |
Athena X11 GUI for the vim editor
Diffstat (limited to 'editors')
-rw-r--r-- | editors/vim-xaw/Makefile | 47 | ||||
-rw-r--r-- | editors/vim-xaw/files/patch-sum | 6 | ||||
-rw-r--r-- | editors/vim-xaw/patches/patch-aa | 20 | ||||
-rw-r--r-- | editors/vim-xaw/patches/patch-ab | 13 | ||||
-rw-r--r-- | editors/vim-xaw/patches/patch-ac | 13 | ||||
-rw-r--r-- | editors/vim-xaw/patches/patch-ad | 38 | ||||
-rw-r--r-- | editors/vim-xaw/pkg/COMMENT | 1 | ||||
-rw-r--r-- | editors/vim-xaw/pkg/DESCR | 12 | ||||
-rw-r--r-- | editors/vim-xaw/pkg/PLIST | 14 |
9 files changed, 164 insertions, 0 deletions
diff --git a/editors/vim-xaw/Makefile b/editors/vim-xaw/Makefile new file mode 100644 index 00000000000..152f9f344f0 --- /dev/null +++ b/editors/vim-xaw/Makefile @@ -0,0 +1,47 @@ +# $NetBSD: Makefile,v 1.1.1.1 1999/12/21 13:26:28 pooka Exp $ + +.include "../vim-share/Makefile.common" + +PKGNAME= vim-xaw-${VIM_VERSION} + +DEPENDS+= vim-share-${VIM_VERSION}:../vim-share +CONFLICTS= vim-[0-9]* vim-gtk-* + +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}" + +ALL_TARGET= vim +INSTALL_TARGET= installvimbin + +.include "../../mk/bsd.prefs.mk" + +.if (${OPSYS} == "NetBSD") +DEPENDS+= ncurses-4.2:../../devel/ncurses +.endif + +post-install: + @${LN} ${PREFIX}/man/man1/vim.1 ${PREFIX}/man/man1/gvim.1 + @${LN} ${PREFIX}/man/man1/view.1 ${PREFIX}/man/man1/gview.1 + @${LN} ${PREFIX}/man/man1/rvim.1 ${PREFIX}/man/man1/rgvim.1 + @${LN} ${PREFIX}/man/man1/rview.1 ${PREFIX}/man/man1/rgview.1 + @${LN} ${PREFIX}/bin/vim ${PREFIX}/bin/gvim + @${LN} ${PREFIX}/bin/vim ${PREFIX}/bin/gview + @${LN} ${PREFIX}/bin/vim ${PREFIX}/bin/rgvim + @${LN} ${PREFIX}/bin/vim ${PREFIX}/bin/rgview + @${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 + +.include "../../mk/bsd.pkg.mk" + +.if (${XAW_TYPE} == "standard") +MAKE_ENV+= XAW_LIB=Xaw +.else +MAKE_ENV+= XAW_LIB=Xaw3d +.endif diff --git a/editors/vim-xaw/files/patch-sum b/editors/vim-xaw/files/patch-sum new file mode 100644 index 00000000000..5605d8e8488 --- /dev/null +++ b/editors/vim-xaw/files/patch-sum @@ -0,0 +1,6 @@ +$NetBSD: patch-sum,v 1.1.1.1 1999/12/21 13:26:29 pooka Exp $ + +MD5 (patch-aa) = caa181ba83b02f273da5df192f32b7b8 +MD5 (patch-ab) = e53e72a98abbb723d60c03b8bf1fc55d +MD5 (patch-ac) = 978580aca00cf8c29148c2fcaa754c64 +MD5 (patch-ad) = 7f99381d2ab5c53db6df89ee1e4151b8 diff --git a/editors/vim-xaw/patches/patch-aa b/editors/vim-xaw/patches/patch-aa new file mode 100644 index 00000000000..f760056bf9e --- /dev/null +++ b/editors/vim-xaw/patches/patch-aa @@ -0,0 +1,20 @@ +$NetBSD: patch-aa,v 1.1.1.1 1999/12/21 13:26:29 pooka Exp $ + +--- configure.orig Sun Sep 19 13:59:45 1999 ++++ configure Sat Nov 20 11:40:23 1999 +@@ -1813,6 +1813,7 @@ + # Look for the header file in a standard set of common directories. + # Check X11 before X11Rn because it is often a symlink to the current release. + for ac_dir in \ ++ ${X11BASE}/include \ + /usr/X11/include \ + /usr/X11R6/include \ + /usr/X11R5/include \ +@@ -1888,6 +1889,7 @@ + # First see if replacing the include by lib works. + # Check X11 before X11Rn because it is often a symlink to the current release. + for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \ ++ ${X11BASE}/lib \ + /usr/X11/lib \ + /usr/X11R6/lib \ + /usr/X11R5/lib \ diff --git a/editors/vim-xaw/patches/patch-ab b/editors/vim-xaw/patches/patch-ab new file mode 100644 index 00000000000..5aa8abfe90c --- /dev/null +++ b/editors/vim-xaw/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1.1.1 1999/12/21 13:26:29 pooka Exp $ + +--- config.mk.in.orig Sat Jun 20 15:22:37 1998 ++++ config.mk.in Sun Jan 10 23:22:48 1999 +@@ -14,7 +14,7 @@ + @SET_MAKE@ + CC = @CC@ + DEFS = @DEFS@ +-CFLAGS = @CFLAGS@ ++CFLAGS = @CFLAGS@ @CPPFLAGS@ + srcdir = @srcdir@ + VPATH = @srcdir@ + LDFLAGS = @LDFLAGS@ diff --git a/editors/vim-xaw/patches/patch-ac b/editors/vim-xaw/patches/patch-ac new file mode 100644 index 00000000000..0f53f078196 --- /dev/null +++ b/editors/vim-xaw/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1.1.1 1999/12/21 13:26:29 pooka Exp $ + +--- feature.h.orig Sat Aug 21 14:08:09 1999 ++++ feature.h Sat Nov 20 11:45:33 1999 +@@ -346,7 +346,7 @@ + * (used only with NO_BUILTIN_TCAPS not defined). + */ + #ifdef HAVE_TGETENT +-/* #define NO_BUILTIN_TCAPS */ ++#define NO_BUILTIN_TCAPS + #endif + + #ifndef NO_BUILTIN_TCAPS diff --git a/editors/vim-xaw/patches/patch-ad b/editors/vim-xaw/patches/patch-ad new file mode 100644 index 00000000000..2cb1e6811c8 --- /dev/null +++ b/editors/vim-xaw/patches/patch-ad @@ -0,0 +1,38 @@ +$NetBSD: patch-ad,v 1.1.1.1 1999/12/21 13:26:29 pooka Exp $ + +--- Makefile.orig Sun Sep 19 13:27:33 1999 ++++ Makefile Thu Nov 25 21:03:25 1999 +@@ -902,23 +902,26 @@ + ### Athena Widget GUI interface. + ### Use Xaw3d to make the menus look a little bit nicer + #XAW_LIB = -lXaw3d +-XAW_LIB = -lXaw ++#XAW_LIB = -lXaw + + ### When using Xaw3d, uncomment/comment the following lines to also get the + ### scrollbars from Xaw3d. +-#ATHENA_SRC = gui.c gui_athena.c gui_x11.c pty.c gui_at_fs.c +-#ATHENA_OBJ = gui.o gui_athena.o gui_x11.o pty.o gui_at_fs.o +-#ATHENA_DEFS = -DUSE_GUI_ATHENA $(NARROW_PROTO) \ +-# -Dvim_scrollbarWidgetClass=scrollbarWidgetClass \ +-# -Dvim_XawScrollbarSetThumb=XawScrollbarSetThumb ++.if ($(XAW_LIB) != "Xaw") ++ATHENA_SRC = gui.c gui_athena.c gui_x11.c pty.c gui_at_fs.c ++ATHENA_OBJ = gui.o gui_athena.o gui_x11.o pty.o gui_at_fs.o ++ATHENA_DEFS = -DUSE_GUI_ATHENA $(NARROW_PROTO) \ ++ -Dvim_scrollbarWidgetClass=scrollbarWidgetClass \ ++ -Dvim_XawScrollbarSetThumb=XawScrollbarSetThumb ++.else + ATHENA_SRC = gui.c gui_athena.c gui_x11.c pty.c gui_at_sb.c gui_at_fs.c + ATHENA_OBJ = gui.o gui_athena.o gui_x11.o pty.o gui_at_sb.o gui_at_fs.o + ATHENA_DEFS = -DUSE_GUI_ATHENA $(NARROW_PROTO) ++.endif + + ATHENA_INCL = gui.h + ATHENA_IPATH = -I$(GUI_INC_LOC) + ATHENA_LIBS_DIR = -L$(GUI_LIB_LOC) +-ATHENA_LIBS1 = $(XAW_LIB) ++ATHENA_LIBS1 = -l$(XAW_LIB) + ATHENA_LIBS2 = -lXt + ATHENA_TARGETS = $(BINDIR)/$(GVIMTARGET) \ + $(BINDIR)/$(GVIEWTARGET) \ diff --git a/editors/vim-xaw/pkg/COMMENT b/editors/vim-xaw/pkg/COMMENT new file mode 100644 index 00000000000..12f69a31fe9 --- /dev/null +++ b/editors/vim-xaw/pkg/COMMENT @@ -0,0 +1 @@ +vim editor with X11 Athena GUI diff --git a/editors/vim-xaw/pkg/DESCR b/editors/vim-xaw/pkg/DESCR new file mode 100644 index 00000000000..db5edeffa01 --- /dev/null +++ b/editors/vim-xaw/pkg/DESCR @@ -0,0 +1,12 @@ +Vim is an almost compatible version of the UNIX editor Vi. Many new features +have been added: multi level undo, syntax highlighting, command line history, +on-line help, filename completion, block operations, etc. There is also a +Graphical User Interface (GUI) available. See doc/vi_diff.txt. + +If you are building the package from source you may want to enable some +features such as a perl or python interpreter which are not enabled by +default. + +This version also contains a X11 Athena GUI. Use the variable XAW_TYPE +to select between the `flat' and 3d widget set. If you don't have X11, +look at the `vim' package instead. diff --git a/editors/vim-xaw/pkg/PLIST b/editors/vim-xaw/pkg/PLIST new file mode 100644 index 00000000000..d97d9054e34 --- /dev/null +++ b/editors/vim-xaw/pkg/PLIST @@ -0,0 +1,14 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 1999/12/21 13:26:30 pooka Exp $ +bin/vim +bin/gvim +bin/gview +bin/rgvim +bin/rgview +bin/ex +bin/view +bin/rvim +bin/rview +man/man1/gvim.1 +man/man1/gview.1 +man/man1/rgvim.1 +man/man1/rgview.1 |