Skip to content

Commit

Permalink
textproc/yamlfmt: add new port
Browse files Browse the repository at this point in the history
Simple command line tool for formatting yaml files.

WWW:		https://github.com/google/yamlfmt
  • Loading branch information
metalefty committed Jun 10, 2023
1 parent cea999c commit fef75bf
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions textproc/Makefile
Expand Up @@ -2096,6 +2096,7 @@
SUBDIR += yamcha
SUBDIR += yaml-mode.el
SUBDIR += yaml.el
SUBDIR += yamlfmt
SUBDIR += ydiff
SUBDIR += yelp-tools
SUBDIR += yelp-xsl
Expand Down
19 changes: 19 additions & 0 deletions textproc/yamlfmt/Makefile
@@ -0,0 +1,19 @@
PORTNAME= yamlfmt
DISTVERSIONPREFIX= v
DISTVERSION= 0.9.0
CATEGORIES= textproc

MAINTAINER= meta@FreeBSD.org
COMMENT= Simple command line tool for formatting yaml files
WWW= https://github.com/google/yamlfmt

LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE

USES= go:modules
GO_MODULE= github.com/google/yamlfmt
GO_TARGET= ./cmd/yamlfmt

PLIST_FILES= ${GO_TARGET:T:S,^,bin/,}

.include <bsd.port.mk>
5 changes: 5 additions & 0 deletions textproc/yamlfmt/distinfo
@@ -0,0 +1,5 @@
TIMESTAMP = 1686315209
SHA256 (go/textproc_yamlfmt/yamlfmt-v0.9.0/v0.9.0.mod) = a091e8def09a41ca26a568f45f4448d1bff43d52c7ebdfd869c4bd48b35430e0
SIZE (go/textproc_yamlfmt/yamlfmt-v0.9.0/v0.9.0.mod) = 268
SHA256 (go/textproc_yamlfmt/yamlfmt-v0.9.0/v0.9.0.zip) = 8567c41ff71bbf7d2a8238e46bb3df87f87790803d72065c0b962b78187b15d4
SIZE (go/textproc_yamlfmt/yamlfmt-v0.9.0/v0.9.0.zip) = 49994
2 changes: 2 additions & 0 deletions textproc/yamlfmt/pkg-descr
@@ -0,0 +1,2 @@
Simple and easy-to-use command line tool for formatting yaml files written in
G o language.

0 comments on commit fef75bf

Please sign in to comment.