1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Update to 1.8.3.

Make vimcat an OPTION, because it requires bash now.
This commit is contained in:
Adam Weinberger 2013-12-29 16:34:27 +00:00
parent d5855a4729
commit 59ac0c337c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=338026
2 changed files with 22 additions and 4 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= vimpager
PORTVERSION= 1.8.2
PORTVERSION= 1.8.3
CATEGORIES= sysutils
MASTER_SITES= https://github.com/rkitover/${PORTNAME}/archive/${PORTVERSION}.tar.gz?dummy=/
@ -13,12 +13,30 @@ RUN_DEPENDS= vim:${PORTSDIR}/editors/vim
FETCH_ARGS= -prR
PLIST_FILES= bin/${PORTNAME} bin/vimcat etc/${PORTNAME}rc man/man1/${PORTNAME}.1.gz
OPTIONS_DEFINE= VIMCAT BASH_DEVEL
OPTIONS_DEFAULT=VIMCAT
VIMCAT_DESC= Install vimcat(1) (requires shells/bash)
BASH_DEVEL_DESC=Use shells/bash-devel instead of shells/bash
PLIST_FILES= bin/${PORTNAME} etc/${PORTNAME}rc man/man1/${PORTNAME}.1.gz
VIMCAT_PLIST_FILES= bin/vimcat man/man1/vimcat.1.gz
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MVIMCAT}
. if ${PORT_OPTIONS:MBASH_DEVEL}
RUN_DEPENDS+= bash:${PORTSDIR}/shells/bash-devel
. else
RUN_DEPENDS+= bash:${PORTSDIR}/shells/bash
. endif
.endif
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/vimcat ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/vimcat.1 ${STAGEDIR}${MANPREFIX}/man/man1
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}rc ${STAGEDIR}${PREFIX}/etc
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (vimpager-1.8.2.tar.gz) = 0cafa63fe27079c2d9a33b689fa93654198ab27c13c492a17c859dafec8c69d7
SIZE (vimpager-1.8.2.tar.gz) = 9725
SHA256 (vimpager-1.8.3.tar.gz) = da8c320bc9ab949adeba67f78c445029a5646f3eadf4df8d44a21825696dd69d
SIZE (vimpager-1.8.3.tar.gz) = 11589