From 559499a154e86f159a510f72571b174d4bbc4535 Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Mon, 13 Jul 2020 06:51:01 +0000 Subject: [PATCH] vimpager: Add plist, forgotten in r542108 Also, add some instructions to get up and running. --- sysutils/vimpager/Makefile | 3 ++- sysutils/vimpager/pkg-descr | 14 ++++++++------ sysutils/vimpager/pkg-message | 11 +++++++++++ sysutils/vimpager/pkg-plist | 20 ++++++++++++++++++++ 4 files changed, 41 insertions(+), 7 deletions(-) create mode 100644 sysutils/vimpager/pkg-message create mode 100644 sysutils/vimpager/pkg-plist diff --git a/sysutils/vimpager/Makefile b/sysutils/vimpager/Makefile index 7d80ec684999..ac9e710a49f0 100644 --- a/sysutils/vimpager/Makefile +++ b/sysutils/vimpager/Makefile @@ -3,10 +3,11 @@ PORTNAME= vimpager DISTVERSION= 2.06.20200712 +PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= ports@FreeBSD.org -COMMENT= Use ViM as a pager +COMMENT= Use Vim/NeoVim as a pager LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE diff --git a/sysutils/vimpager/pkg-descr b/sysutils/vimpager/pkg-descr index 6181bd206fe4..2a0081fc7961 100644 --- a/sysutils/vimpager/pkg-descr +++ b/sysutils/vimpager/pkg-descr @@ -1,10 +1,12 @@ -Use ViM as a more(1)/less(1) pager replacement. +Vimpager uses the power of Vim to provide a powerful pager. +It runs Vim (or NeoVim, or even GVim) and acts as a frontend, +allowing for full Vim syntax highlighting, navigation, and +configurability. -To set as your default pager, export PAGER=vimpager in your shell's -rcfile. +To make Vimpager look for anything other than `vim', set +VIMPAGER_VIM=nvim or VIMPAGER_VIM=gvim. -See the manpage for various options. Of note, some options in your -.vimrc can cause strange behaviour. Creating ~/.vimpagerrc will give -you a clean ViM environment. +To set Vimpager as your default pager, export PAGER=vimpager +in your shell. WWW: https://github.com/rkitover/vimpager diff --git a/sysutils/vimpager/pkg-message b/sysutils/vimpager/pkg-message new file mode 100644 index 000000000000..d645a057c931 --- /dev/null +++ b/sysutils/vimpager/pkg-message @@ -0,0 +1,11 @@ +[ +{ type: install + message: <