pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

vim-classic-gtk2: added



Module Name:	pkgsrc-wip
Committed By:	Olaf Seibert <rhialto%falu.nl@localhost>
Pushed By:	rhialto
Date:		Sun Aug 30 13:17:46 2026 +0200
Changeset:	02655620e092fdb1af025e33779d24076f727f9d

Modified Files:
	Makefile
Added Files:
	vim-classic-gtk2/DESCR
	vim-classic-gtk2/Makefile
	vim-classic-gtk2/PLIST

Log Message:
vim-classic-gtk2: added

Essentially a lightly edited copy of editors/vim-gtk2.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=02655620e092fdb1af025e33779d24076f727f9d

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                  |  1 +
 vim-classic-gtk2/DESCR    | 20 ++++++++++++++++++++
 vim-classic-gtk2/Makefile | 43 +++++++++++++++++++++++++++++++++++++++++++
 vim-classic-gtk2/PLIST    | 14 ++++++++++++++
 4 files changed, 78 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 658664267b..758c841c44 100644
--- a/Makefile
+++ b/Makefile
@@ -6005,6 +6005,7 @@ SUBDIR+=	vidriolib
 SUBDIR+=	viewer
 SUBDIR+=	viewglob
 SUBDIR+=	vim-classic
+SUBDIR+=	vim-classic-gtk2
 SUBDIR+=	vim-classic-lang
 SUBDIR+=	vim-classic-share
 SUBDIR+=	vim-nox11
diff --git a/vim-classic-gtk2/DESCR b/vim-classic-gtk2/DESCR
new file mode 100644
index 0000000000..b0118afea4
--- /dev/null
+++ b/vim-classic-gtk2/DESCR
@@ -0,0 +1,20 @@
+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.
+
+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 GTK+ GUI. If you don't have X11,
+look at the `vim' package instead.
+
+
+Vim-Classic is a fork of Vim8.2.  It 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. 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.
diff --git a/vim-classic-gtk2/Makefile b/vim-classic-gtk2/Makefile
new file mode 100644
index 0000000000..f6ce91425b
--- /dev/null
+++ b/vim-classic-gtk2/Makefile
@@ -0,0 +1,43 @@
+# $NetBSD: Makefile,v 1.121 2026/06/13 15:49:54 wiz Exp $
+
+PKGNAME=	vim-classic-gtk2-${VIM_VERSION}.${VIM_PATCHLEVEL}
+
+COMMENT=	Vim editor (vi clone) with X11 GTK2 GUI
+
+.include		"../../wip/vim-classic-share/Makefile.common"
+
+
+DEPENDS+=		vim-classic-share-${VIM_VERSION}.${VIM_PATCHLEVEL}{,nb*}:../../editors/vim-share
+CONFLICTS+=		vim-[0-9]* vim-gtk3-[0-9]* vim-gtk4-[0-9]* vim-motif-[0-9]*
+
+CONFIGURE_ARGS+=	--with-tlib=${BUILDLINK_LIBNAME.termcap}
+CONFIGURE_ARGS+=	--enable-gui=gtk2
+
+USE_TOOLS+=		pkg-config
+
+BUILD_TARGET=		vim
+INSTALL_TARGET=		installvimbin installvimdiff installtutorbin
+
+INSTALLATION_DIRS+=	${PKGMANDIR}/man1
+
+CHECK_INTERPRETER_SKIP+=	${PKGMANDIR}/man1/gvim.1 ${PKGMANDIR}/man1/gview.1
+CHECK_INTERPRETER_SKIP+=	${PKGMANDIR}/man1/rgvim.1 ${PKGMANDIR}/man1/rgview.1
+
+post-install:
+.for f in gvim.1 gview.1 rgvim.1 rgview.1
+	${RM} -f ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/${f}
+	${LN} -s vim.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/${f}
+.endfor
+.for f in gvim gview rgvim rgview rvim rview
+	${RM} -f ${DESTDIR}${PREFIX}/bin/${f}
+	${LN} -s vim ${DESTDIR}${PREFIX}/bin/${f}
+.endfor
+
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../x11/libXpm/buildlink3.mk"
+.include "../../x11/libXt/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+
+.include "../../mk/termcap.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/vim-classic-gtk2/PLIST b/vim-classic-gtk2/PLIST
new file mode 100644
index 0000000000..94cd07bd4a
--- /dev/null
+++ b/vim-classic-gtk2/PLIST
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.3 2019/08/03 21:01:11 morr Exp $
+bin/gview
+bin/gvim
+bin/rgview
+bin/rgvim
+bin/rview
+bin/rvim
+bin/vim
+bin/vimdiff
+bin/vimtutor
+man/man1/gview.1
+man/man1/gvim.1
+man/man1/rgview.1
+man/man1/rgvim.1


Home | Main Index | Thread Index | Old Index