shells/shellharden: New ports: Corrective bash syntax highlighter

This commit is contained in:
Yuri Victorovich 2023-01-01 13:19:47 -08:00
parent 0ca55cc154
commit 1748e6ecdd
4 changed files with 33 additions and 0 deletions

View File

@ -45,6 +45,7 @@
SUBDIR += rush
SUBDIR += sash
SUBDIR += scponly
SUBDIR += shellharden
SUBDIR += starship
SUBDIR += switchBashZsh
SUBDIR += tcsh_nls

View File

@ -0,0 +1,24 @@
PORTNAME= shellharden
DISTVERSIONPREFIX= v
DISTVERSION= 4.3.0
CATEGORIES= shells
MAINTAINER= yuri@FreeBSD.org
COMMENT= Corrective bash syntax highlighter
WWW= https://github.com/anordal/shellharden
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cargo
USE_GITHUB= yes
GH_ACCOUNT= anordal
CARGO_CRATES= \
PLIST_FILES= bin/${PORTNAME}
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1672607457
SHA256 (anordal-shellharden-v4.3.0_GH0.tar.gz) = d17bf55bae4ed6aed9f0d5cea8efd11026623a47b6d840b826513ab5b48db3eb
SIZE (anordal-shellharden-v4.3.0_GH0.tar.gz) = 191795

View File

@ -0,0 +1,5 @@
Shellharden is a syntax highlighter and a tool to semi-automate the rewriting
of scripts to ShellCheck conformance, mainly focused on quoting.
The default mode of operation is like cat, but with syntax highlighting in
foreground colors and suggestive changes in background colors.