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 2026Q3
shfmt Shell script formatter
3.13.1_3 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.1_3Version of this port present on the latest quarterly branch.
Maintainer: adamw@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-07-10 08:24:41
Last Update: 2026-07-10 08:00:52
Commit Hash: c328c3d
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.1_3/catalog.mk
  4. /usr/local/share/licenses/shfmt-3.13.1_3/LICENSE
  5. /usr/local/share/licenses/shfmt-3.13.1_3/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 = 1776822964 SHA256 (go/devel_shfmt/shfmt-v3.13.1/v3.13.1.mod) = 145d7dae7023c2eaf10b273fcf34143ef95f82cf351f47cc0eedf1a79c266c91 SIZE (go/devel_shfmt/shfmt-v3.13.1/v3.13.1.mod) = 557

Expand this list (2 items)

Collapse this list.

SHA256 (go/devel_shfmt/shfmt-v3.13.1/v3.13.1.zip) = f7fdbe40f3d485df9d3ccbebae6754936dfbd59642e04c93926f1313f4e4c046 SIZE (go/devel_shfmt/shfmt-v3.13.1/v3.13.1.zip) = 292831

Collapse this list.


Packages (timestamps in pop-ups are UTC):
shfmt
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest3.13.13.13.1-3.12.0_33.13.1n/an/an/a
FreeBSD:13:quarterly3.13.0_13.13.0_1-3.11.0_33.13.0_1n/an/an/a
FreeBSD:14:latest3.13.1_23.13.1_3-3.12.0_23.13.1_3---
FreeBSD:14:quarterly3.13.1_33.13.1_3-3.11.0_33.13.1_3---
FreeBSD:15:latest3.13.1_33.13.1_3n/a-n/an/a--
FreeBSD:15:quarterly3.13.1_33.13.1_3n/a-n/an/a--
FreeBSD:16:latest3.13.1_33.13.1_3n/a-n/an/a--
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: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
3.13.1_3
10 Jul 2026 08:00:52
commit hash: c328c3d404abdecbaf1429067d07fa84f6de3487commit hash: c328c3d404abdecbaf1429067d07fa84f6de3487commit hash: c328c3d404abdecbaf1429067d07fa84f6de3487commit hash: c328c3d404abdecbaf1429067d07fa84f6de3487 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.12 / 1.26.5

Number of commits found: 1