1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

misc/lesspipe: update to 2.02

PR:		261271
Approved by:	maintainer (timeout)
This commit is contained in:
Hajimu UMEMOTO 2022-02-05 02:48:50 +09:00
parent 6affdd856d
commit 8760f0badf
3 changed files with 23 additions and 9 deletions

View File

@ -1,9 +1,9 @@
# Created by: Slaven Rezic <slaven@rezic.de>
PORTNAME= lesspipe
PORTVERSION= 1.83
DISTVERSIONPREFIX= v
DISTVERSION= 2.02
CATEGORIES= misc
MASTER_SITES= SF
MAINTAINER= slaven@rezic.de
COMMENT= Preprocessor for less
@ -14,20 +14,33 @@ MY_DEPENDS= bash:shells/bash
BUILD_DEPENDS= ${MY_DEPENDS}
RUN_DEPENDS= ${MY_DEPENDS}
USES= perl5
USES= perl5 shebangfix
USE_GITHUB= yes
GH_ACCOUNT= wofr06
NO_BUILD= yes
NO_ARCH= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --yes --prefix=${PREFIX}
PLIST_FILES= bin/lesspipe.sh bin/code2color man/man1/lesspipe.1.gz
SHEBANG_FILES= archive_color code2color lesscomplete lesspipe.sh
PLIST_FILES= bin/archive_color bin/code2color bin/lesscomplete bin/lesspipe.sh \
etc/bash_completion.d/less_completion man/man1/lesspipe.1.gz \
share/zsh/site-functions/_less
SUB_FILES= pkg-message
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/code2color ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/archive_color ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/code2color ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/lesscomplete ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/lesspipe.sh ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/lesspipe.1 ${STAGEDIR}${MANPREFIX}/man/man1
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d
${INSTALL_DATA} ${WRKSRC}/less_completion ${STAGEDIR}${PREFIX}/etc/bash_completion.d
@${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions
${INSTALL_DATA} ${WRKSRC}/_less ${STAGEDIR}${PREFIX}/share/zsh/site-functions
${INSTALL_MAN} ${WRKSRC}/lesspipe.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>

View File

@ -1,2 +1,3 @@
SHA256 (lesspipe-1.83.tar.gz) = d616f0d51852e60fb0d0801eec9c31b10e0acc6fdfdc62ec46ef7bfd60ce675e
SIZE (lesspipe-1.83.tar.gz) = 115129
TIMESTAMP = 1642683865
SHA256 (wofr06-lesspipe-v2.02_GH0.tar.gz) = f66da17dce756d06087ca0d9ff98f97e29cd3d026613853b60c174aa6fa0fd47
SIZE (wofr06-lesspipe-v2.02_GH0.tar.gz) = 166136

View File

@ -7,4 +7,4 @@ lesspipe is a powerful preprocessor for less(1). The features include
* Optional syntax highlightning of source files
WWW: https://sourceforge.net/projects/lesspipe/
WWW: https://www.zeuthen.desy.de/~friebel/unix/lesspipe.html