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
lefthook Fast and powerful Git hooks manager for any type of projects
2.0.5_7 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 2.0.5_7Version of this port present on the latest quarterly branch.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-04-10 17:07:00
Last Update: 2026-06-03 18:00:48
Commit Hash: 3d69120
License: MIT
WWW:
https://evilmartians.github.io/lefthook/
https://github.com/evilmartians/lefthook
Description:
lefthook is a fast and powerful Git hooks manager for Node.js, Ruby or any other type of projects. Features: * Fast. It is written in Go. Can run commands in parallel. * Powerful. With a few lines in the config you can check only the changed files on pre-push hook. * Simple. It is single dependency-free binary which can work in any environment.
HomepageHomepage    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 (4 items)
Collapse this list.
  1. bin/lefthook
  2. /usr/local/share/licenses/lefthook-2.0.5_7/catalog.mk
  3. /usr/local/share/licenses/lefthook-2.0.5_7/LICENSE
  4. /usr/local/share/licenses/lefthook-2.0.5_7/MIT
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • lefthook>0:devel/lefthook
To install the port:
cd /usr/ports/devel/lefthook/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/lefthook
  • pkg install lefthook
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: lefthook
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1764757700 SHA256 (go/devel_lefthook/lefthook-v2.0.5/v2.0.5.mod) = 463de7fd42ced9767fe107c244a50a2e3d0d23265658e9474a8ce04ca40ea721 SIZE (go/devel_lefthook/lefthook-v2.0.5/v2.0.5.mod) = 2881

Expand this list (2 items)

Collapse this list.

SHA256 (go/devel_lefthook/lefthook-v2.0.5/v2.0.5.zip) = 5607c817f8444c577dc3d2de5eba9efec1ef989ee84dcf19118ca8a6cf5020a2 SIZE (go/devel_lefthook/lefthook-v2.0.5/v2.0.5.zip) = 277106

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. 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_lefthook
USES:
go:1.25+,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/github.com/evilmartians/lefthook/v2/@v/
Collapse this list.

Number of commits found: 3

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.0.5_7
03 Jun 2026 18:00:48
commit hash: 3d69120c306222a137dfeae569a2da22bc33239ccommit hash: 3d69120c306222a137dfeae569a2da22bc33239ccommit hash: 3d69120c306222a137dfeae569a2da22bc33239ccommit hash: 3d69120c306222a137dfeae569a2da22bc33239c 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.11 / go-1.26.4
2.0.5_6
09 May 2026 17:31:07
commit hash: 0c28c1280feefd3669435bd06ce04988fea2418acommit hash: 0c28c1280feefd3669435bd06ce04988fea2418acommit hash: 0c28c1280feefd3669435bd06ce04988fea2418acommit hash: 0c28c1280feefd3669435bd06ce04988fea2418a files touched by this commit
Adam Weinberger (adamw) search for other commits by this committer
various: Bump ports for Go 1.26.3
2.0.5_5
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: 3