Skip to content

Commit

Permalink
shells/shellharden: New ports: Corrective bash syntax highlighter
Browse files Browse the repository at this point in the history
  • Loading branch information
yurivict committed Jan 1, 2023
1 parent 0ca55cc commit 1748e6e
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 0 deletions.
1 change: 1 addition & 0 deletions shells/Makefile
Expand Up @@ -45,6 +45,7 @@
SUBDIR += rush
SUBDIR += sash
SUBDIR += scponly
SUBDIR += shellharden
SUBDIR += starship
SUBDIR += switchBashZsh
SUBDIR += tcsh_nls
Expand Down
24 changes: 24 additions & 0 deletions shells/shellharden/Makefile
@@ -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>
3 changes: 3 additions & 0 deletions shells/shellharden/distinfo
@@ -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
5 changes: 5 additions & 0 deletions shells/shellharden/pkg-descr
@@ -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.

0 comments on commit 1748e6e

Please sign in to comment.