diff options
author | obache <obache@pkgsrc.org> | 2013-04-17 13:42:48 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2013-04-17 13:42:48 +0000 |
commit | 40d338cc56d4074cbaa9f4edcadbb46e05214050 (patch) | |
tree | f64778145cdbc6453d0a5d9b9e97a46202ae0828 /misc | |
parent | ba96e556c8b5c0d67363c668f2b19ffd0142569e (diff) | |
download | pkgsrc-40d338cc56d4074cbaa9f4edcadbb46e05214050.tar.gz |
Import vimpager-1.8.1 as misc/vimpager.
Based on PR pkg/47679 by NONAKA Kimihiro.
Use ViM as PAGER.
A slightly more sophisticated replacement for less.sh that also supports being
set as the PAGER environment variable.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/vimpager/DESCR | 4 | ||||
-rw-r--r-- | misc/vimpager/Makefile | 36 | ||||
-rw-r--r-- | misc/vimpager/PLIST | 5 | ||||
-rw-r--r-- | misc/vimpager/distinfo | 5 |
4 files changed, 50 insertions, 0 deletions
diff --git a/misc/vimpager/DESCR b/misc/vimpager/DESCR new file mode 100644 index 00000000000..ad841654ce5 --- /dev/null +++ b/misc/vimpager/DESCR @@ -0,0 +1,4 @@ +Use ViM as PAGER. + +A slightly more sophisticated replacement for less.sh that also supports being +set as the PAGER environment variable. diff --git a/misc/vimpager/Makefile b/misc/vimpager/Makefile new file mode 100644 index 00000000000..922be00cdea --- /dev/null +++ b/misc/vimpager/Makefile @@ -0,0 +1,36 @@ +# $NetBSD: Makefile,v 1.1 2013/04/17 13:42:48 obache Exp $ + +DISTNAME= vimpager-1.8.1 +CATEGORIES= misc +MASTER_SITES= -http://nodeload.github.com/rkitover/vimpager/tar.gz/${PKGVERSION_NOREV} + +MAINTAINER= nonakap@gmail.com +HOMEPAGE= http://www.vim.org/scripts/script.php?script_id=1723 +COMMENT= Use ViM as PAGER +LICENSE= 2-clause-bsd + +DEPENDS+= vim{,-gtk,gtk2,-motif,-xaw}>=7.0:../../editors/vim + +NO_BUILD= yes + +USE_TOOLS+= sh:run bash:run + +SUBST_CLASSES+= vimpager +SUBST_STAGE.vimpager= post-patch +SUBST_FILES.vimpager= vimpager +SUBST_SED.vimpager= -e 's,/usr/local/etc/,${PKG_SYSCONFDIR}/,g' + +CONF_FILES+= share/examples/vimpager/vimpagerrc ${PKG_SYSCONFDIR}/vimpagerrc + +REPLACE_BASH+= vimcat +REPLACE_SH+= vimpager + +INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/examples/vimpager + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/vimcat ${DESTDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/vimpager ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/vimpager.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_DATA} ${WRKSRC}/vimpagerrc ${DESTDIR}${PREFIX}/share/examples/vimpager + +.include "../../mk/bsd.pkg.mk" diff --git a/misc/vimpager/PLIST b/misc/vimpager/PLIST new file mode 100644 index 00000000000..88a2125609d --- /dev/null +++ b/misc/vimpager/PLIST @@ -0,0 +1,5 @@ +@comment $NetBSD: PLIST,v 1.1 2013/04/17 13:42:48 obache Exp $ +bin/vimcat +bin/vimpager +man/man1/vimpager.1 +share/examples/vimpager/vimpagerrc diff --git a/misc/vimpager/distinfo b/misc/vimpager/distinfo new file mode 100644 index 00000000000..4bbbfedca0a --- /dev/null +++ b/misc/vimpager/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2013/04/17 13:42:48 obache Exp $ + +SHA1 (vimpager-1.8.1.tar.gz) = 30b740754bca95db791b270ebfcf2cc126245e02 +RMD160 (vimpager-1.8.1.tar.gz) = 8af5ca32dcf5400faa76985424b54db51e4a8014 +Size (vimpager-1.8.1.tar.gz) = 9622 bytes |