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 photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Port details on branch 2026Q2
shfmt Shell script formatter
3.13.0_2 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.13.0_2Version of this port present on the latest quarterly branch.
Maintainer: adamw@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-04-10 17:07:00
Last Update: 2026-05-09 17:30:33
Commit Hash: a67ac1c
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:
pkg-plist: as obtained via: make generate-plist
Expand this list (5 items)
Collapse this list.
  1. bin/shfmt
  2. share/man/man1/shfmt.1.gz
  3. /usr/local/share/licenses/shfmt-3.13.0_2/catalog.mk
  4. /usr/local/share/licenses/shfmt-3.13.0_2/LICENSE
  5. /usr/local/share/licenses/shfmt-3.13.0_2/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 = 1773060792 SHA256 (go/devel_shfmt/shfmt-v3.13.0/v3.13.0.mod) = 2bc4957aa846fb74c77e3ed1b307a44d696b3126ccb4ff14b443647290cad3f8 SIZE (go/devel_shfmt/shfmt-v3.13.0/v3.13.0.mod) = 557

Expand this list (2 items)

Collapse this list.

SHA256 (go/devel_shfmt/shfmt-v3.13.0/v3.13.0.zip) = 7771bb1dd8976e5f58448f57889a8dc06d278e85e3d1497bba3ca36672e79cce SIZE (go/devel_shfmt/shfmt-v3.13.0/v3.13.0.zip) = 290123

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. go125 : lang/go125
Fetch dependencies:
  1. go125 : lang/go125
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: 2

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
3.13.0_2
09 May 2026 17:30:33
commit hash: a67ac1c1ac354b79ab6fab7d07a32be91e2c3654commit hash: a67ac1c1ac354b79ab6fab7d07a32be91e2c3654commit hash: a67ac1c1ac354b79ab6fab7d07a32be91e2c3654commit hash: a67ac1c1ac354b79ab6fab7d07a32be91e2c3654 files touched by this commit
Adam Weinberger (adamw) search for other commits by this committer
various: Bump ports for Go 1.25.10
3.13.0_1
10 Apr 2026 16:19:03
commit hash: 9c91901491db265de51255eeec8093989f724305commit hash: 9c91901491db265de51255eeec8093989f724305commit hash: 9c91901491db265de51255eeec8093989f724305commit hash: 9c91901491db265de51255eeec8093989f724305 files touched by this commit
Dag-Erling Smørgrav (des) search for other commits by this committer
various: Bump go ports for go-1.25.9 / 1.26.2

Number of commits found: 2