Sat Sep 20 12:00:42 2014 UTC ()
Update vimpager to 1.8.9.
While here, use bundled Makefile to install, prevent missing contents.

Version 1.8.9
* security enhancements (snordhausen: Stefan Nordhausen) #78


(obache)
diff -r1.4 -r1.5 pkgsrc/misc/vimpager/Makefile
diff -r1.1 -r1.2 pkgsrc/misc/vimpager/PLIST
diff -r1.3 -r1.4 pkgsrc/misc/vimpager/distinfo

cvs diff -r1.4 -r1.5 pkgsrc/misc/vimpager/Makefile (expand / switch to unified diff)

--- pkgsrc/misc/vimpager/Makefile 2014/05/03 12:22:08 1.4
+++ pkgsrc/misc/vimpager/Makefile 2014/09/20 12:00:42 1.5
@@ -1,36 +1,35 @@ @@ -1,36 +1,35 @@
1# $NetBSD: Makefile,v 1.4 2014/05/03 12:22:08 nonaka Exp $ 1# $NetBSD: Makefile,v 1.5 2014/09/20 12:00:42 obache Exp $
2 2
3DISTNAME= vimpager-1.8.8 3DISTNAME= vimpager-1.8.9
4CATEGORIES= misc 4CATEGORIES= misc
5MASTER_SITES= -https://github.com/rkitover/vimpager/archive/${PKGVERSION_NOREV}${EXTRACT_SUFX} 5MASTER_SITES= -https://github.com/rkitover/vimpager/archive/${PKGVERSION_NOREV}${EXTRACT_SUFX}
6 6
7MAINTAINER= nonakap@gmail.com 7MAINTAINER= nonakap@gmail.com
8HOMEPAGE= http://www.vim.org/scripts/script.php?script_id=1723 8HOMEPAGE= http://www.vim.org/scripts/script.php?script_id=1723
9COMMENT= Use ViM as PAGER 9COMMENT= Use ViM as PAGER
10LICENSE= 2-clause-bsd 10LICENSE= 2-clause-bsd
11 11
12DEPENDS+= vim{,-gtk,-gtk2,-motif,-xaw}>=7.0:../../editors/vim 12DEPENDS+= vim{,-gtk,-gtk2,-motif,-xaw}>=7.0:../../editors/vim
13 13
14NO_BUILD= yes 14NO_BUILD= yes
15 15
16USE_TOOLS+= sh:run bash:run 16USE_TOOLS+= sh:run bash:run
17 17
18SUBST_CLASSES+= vimpager 18SUBST_CLASSES+= vimpager
19SUBST_STAGE.vimpager= post-patch 19SUBST_STAGE.vimpager= post-patch
20SUBST_FILES.vimpager= vimpager 20SUBST_FILES.vimpager= vimpager
21SUBST_SED.vimpager= -e 's,/usr/local/etc/,${PKG_SYSCONFDIR}/,g' 21SUBST_SED.vimpager= -e 's,/usr/local/etc/,${PKG_SYSCONFDIR}/,g'
22 22
 23SUBST_CLASSES+= manpath
 24SUBST_STAGE.manpath= pre-install
 25SUBST_FILES.manpath= Makefile
 26SUBST_SED.manpath= -e 's,/share/man/,/${PKGMANDIR}/,g'
 27
23CONF_FILES+= share/examples/vimpager/vimpagerrc ${PKG_SYSCONFDIR}/vimpagerrc 28CONF_FILES+= share/examples/vimpager/vimpagerrc ${PKG_SYSCONFDIR}/vimpagerrc
24 29
25REPLACE_BASH+= vimcat 30REPLACE_BASH+= vimcat
26REPLACE_SH+= vimpager 31REPLACE_SH+= vimpager
27 32
28INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/examples/vimpager 33INSTALL_MAKE_FLAGS+= SYSCONFDIR=${PREFIX}/share/examples/vimpager
29 
30do-install: 
31 ${INSTALL_SCRIPT} ${WRKSRC}/vimcat ${DESTDIR}${PREFIX}/bin 
32 ${INSTALL_SCRIPT} ${WRKSRC}/vimpager ${DESTDIR}${PREFIX}/bin 
33 ${INSTALL_DATA} ${WRKSRC}/vimpager.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 
34 ${INSTALL_DATA} ${WRKSRC}/vimpagerrc ${DESTDIR}${PREFIX}/share/examples/vimpager 
35 34
36.include "../../mk/bsd.pkg.mk" 35.include "../../mk/bsd.pkg.mk"

cvs diff -r1.1 -r1.2 pkgsrc/misc/vimpager/PLIST (expand / switch to unified diff)

--- pkgsrc/misc/vimpager/PLIST 2013/04/17 13:42:48 1.1
+++ pkgsrc/misc/vimpager/PLIST 2014/09/20 12:00:42 1.2
@@ -1,5 +1,6 @@ @@ -1,5 +1,6 @@
1@comment $NetBSD: PLIST,v 1.1 2013/04/17 13:42:48 obache Exp $ 1@comment $NetBSD: PLIST,v 1.2 2014/09/20 12:00:42 obache Exp $
2bin/vimcat 2bin/vimcat
3bin/vimpager 3bin/vimpager
 4man/man1/vimcat.1
4man/man1/vimpager.1 5man/man1/vimpager.1
5share/examples/vimpager/vimpagerrc 6share/examples/vimpager/vimpagerrc

cvs diff -r1.3 -r1.4 pkgsrc/misc/vimpager/distinfo (expand / switch to unified diff)

--- pkgsrc/misc/vimpager/distinfo 2014/05/03 12:22:08 1.3
+++ pkgsrc/misc/vimpager/distinfo 2014/09/20 12:00:42 1.4
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.3 2014/05/03 12:22:08 nonaka Exp $ 1$NetBSD: distinfo,v 1.4 2014/09/20 12:00:42 obache Exp $
2 2
3SHA1 (vimpager-1.8.8.tar.gz) = 69f32e77a64dcd8abea873a7eb05d80b9b6f76b2 3SHA1 (vimpager-1.8.9.tar.gz) = 332a84fec5bd2a4c2dae518d52b310dcaa49f417
4RMD160 (vimpager-1.8.8.tar.gz) = 5d112e584e9f139a6a7cc84411a4e36f8ececdc3 4RMD160 (vimpager-1.8.9.tar.gz) = 6e00c2cbd8e4628d535dd6782652c61084c726c8
5Size (vimpager-1.8.8.tar.gz) = 11822 bytes 5Size (vimpager-1.8.9.tar.gz) = 11942 bytes