notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details on branch 2023Q2
shfmt Shell script formatter
3.6.0_5 devel on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 3.12.0_9Version of this port present on the latest quarterly branch.
Maintainer: adamw@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2023-04-08 16:02:42
Last Update: 2023-04-08 15:33:05
Commit Hash: 95d3a8d
License: BSD3CLAUSE
WWW:
https://github.com/mvdan/sh
Description:
shfmt formats shell programs. It can use tabs or any number of spaces to indent. You can feed it standard input, any number of files or any number of directories to recurse into. When recursing, it will operate on .sh and .bash files and ignore files starting with a period. It will also operate on files with no extension and a shell shebang. If any EditorConfig files are found, they will be used to apply formatting options.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (5 items)
Collapse this list.
  1. bin/shfmt
  2. man/man1/shfmt.1.gz
  3. /usr/local/share/licenses/shfmt-3.6.0_5/catalog.mk
  4. /usr/local/share/licenses/shfmt-3.6.0_5/LICENSE
  5. /usr/local/share/licenses/shfmt-3.6.0_5/BSD3CLAUSE
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • shfmt>0:devel/shfmt
To install the port:
cd /usr/ports/devel/shfmt/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/shfmt
  • pkg install shfmt
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: shfmt
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1670865288 SHA256 (go/devel_shfmt/shfmt-v3.6.0/v3.6.0.mod) = aad2932b81eb95edb5b9e348f0903db52f93c7a1ca85797bea9798f94772dd04 SIZE (go/devel_shfmt/shfmt-v3.6.0/v3.6.0.mod) = 481

Expand this list (2 items)

Collapse this list.

SHA256 (go/devel_shfmt/shfmt-v3.6.0/v3.6.0.zip) = f4ed2c5938a88e89c61c89bf7f3533828f24ff62d374e753a2197efab9882796 SIZE (go/devel_shfmt/shfmt-v3.6.0/v3.6.0.zip) = 244864

Collapse this list.


No package information for this port in our database
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. scdoc : textproc/scdoc
  2. go120 : lang/go120
Fetch dependencies:
  1. go120 : lang/go120
  2. ca_root_nss>0 : security/ca_root_nss
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
devel_shfmt
USES:
go:modules zip
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://proxy.golang.org/mvdan.cc/sh/v3/@v/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
3.6.0_5
08 Apr 2023 15:33:05
commit hash: 95d3a8db15d8962f7839ab8406862a29f117d250commit hash: 95d3a8db15d8962f7839ab8406862a29f117d250commit hash: 95d3a8db15d8962f7839ab8406862a29f117d250commit hash: 95d3a8db15d8962f7839ab8406862a29f117d250 files touched by this commit
Dmitri Goutnik (dmgk) search for other commits by this committer
all: Bump PORTREVISION after lang/go{119,120} update

Approved by: ports-secteam (blanket)

Number of commits found: 1