pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/47679: new package misc/vimpager
>Number: 47679
>Category: pkg
>Synopsis: new package misc/vimpager
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Fri Mar 22 03:55:00 +0000 2013
>Originator: NONAKA Kimihiro
>Release: 6.99.17
>Organization:
>Environment:
NetBSD netbsd-vm 6.99.17 NetBSD 6.99.17 (KOHARU) #9: Thu Mar 7 18:11:57 JST
2013 nonaka@netbsd-vm:/usr/obj.i386/sys/arch/i386/compile/KOHARU i386
>Description:
Use ViM as PAGER.
A slightly more sophisticated replacement for less.sh that also supports being
set as the PAGER environment variable.
>How-To-Repeat:
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# misc/vimpager
# misc/vimpager/Makefile
# misc/vimpager/PLIST
# misc/vimpager/DESCR
# misc/vimpager/distinfo
#
echo c - misc/vimpager
mkdir -p misc/vimpager > /dev/null 2>&1
echo x - misc/vimpager/Makefile
sed 's/^X//' >misc/vimpager/Makefile << 'END-of-misc/vimpager/Makefile'
X# $NetBSD$
X
XDISTNAME= 1.8.0
XPKGNAME= vimpager-${DISTNAME}
XCATEGORIES= misc
XMASTER_SITES= http://nodeload.github.com/rkitover/vimpager/tar.gz/
XDIST_SUBDIR= vimpager
XEXTRACT_SUFX=
X
X.include "../../mk/bsd.prefs.mk"
X
XMAINTAINER= nonakap%gmail.com@localhost
XHOMEPAGE= http://www.vim.org/scripts/script.php?script_id=1723
XCOMMENT= Use ViM as PAGER
XLICENSE= vim-license
X
XWRKSRC= ${WRKDIR}/${PKGNAME}
X
XNO_BUILD= yes
X
XDEPENDS+= bash-[0-9]*:../../shells/bash
X#DEPENDS+= vim-[0-9]*:../../editor/vim
X
XUSE_TOOLS+= tar gzcat
X
XEXTRACT_OPTS= -c gzip -f tar
X
XSUBST_CLASSES+= vimpager
XSUBST_STAGE.vimpager= post-patch
XSUBST_FILES.vimpager= vimpager
XSUBST_SED.vimpager= -e 's,/usr/local/,${PREFIX}/,g'
X
XINSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/examples/vimpager
X
Xdo-install:
X ${INSTALL_SCRIPT} ${WRKSRC}/vimcat ${DESTDIR}${PREFIX}/bin
X ${INSTALL_SCRIPT} ${WRKSRC}/vimpager ${DESTDIR}${PREFIX}/bin
X ${INSTALL_DATA} ${WRKSRC}/vimpager.1
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
X ${INSTALL_DATA} ${WRKSRC}/vimpagerrc
${DESTDIR}${PREFIX}/share/examples/vimpager
X
X.include "../../mk/bsd.pkg.mk"
END-of-misc/vimpager/Makefile
echo x - misc/vimpager/PLIST
sed 's/^X//' >misc/vimpager/PLIST << 'END-of-misc/vimpager/PLIST'
X@comment $NetBSD$
Xbin/vimcat
Xbin/vimpager
Xman/man1/vimpager.1
Xshare/examples/vimpager/vimpagerrc
END-of-misc/vimpager/PLIST
echo x - misc/vimpager/DESCR
sed 's/^X//' >misc/vimpager/DESCR << 'END-of-misc/vimpager/DESCR'
XUse ViM as PAGER.
X
XA slightly more sophisticated replacement for less.sh that also supports being
set as the PAGER environment variable.
END-of-misc/vimpager/DESCR
echo x - misc/vimpager/distinfo
sed 's/^X//' >misc/vimpager/distinfo << 'END-of-misc/vimpager/distinfo'
X$NetBSD$
X
XSHA1 (vimpager/1.8.0) = 0a1f407f0ade7de4c7504a99763080959a2c97d3
XRMD160 (vimpager/1.8.0) = 8dd26bce5368674a60248d020432b1d152b1e3bf
XSize (vimpager/1.8.0) = 9263 bytes
END-of-misc/vimpager/distinfo
exit
Home |
Main Index |
Thread Index |
Old Index