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
I started running short on disk space for the non-production FreshPorts hosts. This time, I have decided to ask for donations. See my recent blog post which points to my Patreon account.
Port details
addlicense Add license information to source code files
1.2.0 develnew! 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 Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: nxjoseph@protonmail.com search for ports maintained by this maintainer
Port Added: 2025-09-06 08:12:04
Last Update: 2025-09-06 08:10:45
Commit Hash: 0215176
License: APACHE20
WWW:
https://github.com/google/addlicense
https://pkg.go.dev/github.com/google/addlicense
Description:
The program ensures source code files have copyright license headers by scanning directory patterns recursively. It modifies all source files in place and avoids adding a license header to any file that already has one.
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/addlicense
  2. /usr/local/share/licenses/addlicense-1.2.0/catalog.mk
  3. /usr/local/share/licenses/addlicense-1.2.0/LICENSE
  4. /usr/local/share/licenses/addlicense-1.2.0/APACHE20
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • addlicense>0:devel/addlicense
To install the port:
cd /usr/ports/devel/addlicense/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/addlicense
  • pkg install addlicense
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: addlicense
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1757103533 SHA256 (go/devel_addlicense/addlicense-v1.2.0/v1.2.0.mod) = a82864c09088a91df8c47c3f177cd9232c757470b8fe08be32d9956732e9e689 SIZE (go/devel_addlicense/addlicense-v1.2.0/v1.2.0.mod) = 153

Expand this list (2 items)

Collapse this list.

SHA256 (go/devel_addlicense/addlicense-v1.2.0/v1.2.0.zip) = d2fccbff05f5538ba14f94f591d9425d9e1da80bf612079cc348d81f72f843c3 SIZE (go/devel_addlicense/addlicense-v1.2.0/v1.2.0.zip) = 77389

Collapse this list.


Packages (timestamps in pop-ups are UTC):
addlicense
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly--------
FreeBSD:14:latest-1.2.0--1.2.0---
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. go124 : lang/go124
Fetch dependencies:
  1. go124 : lang/go124
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
devel_addlicense
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/github.com/google/addlicense/@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
1.2.0
06 Sep 2025 08:10:45
commit hash: 0215176ed62ac3234bb50f5ac50891b234ac8424commit hash: 0215176ed62ac3234bb50f5ac50891b234ac8424commit hash: 0215176ed62ac3234bb50f5ac50891b234ac8424commit hash: 0215176ed62ac3234bb50f5ac50891b234ac8424 files touched by this commit
Hiroki Tagato (tagattie) search for other commits by this committer
Author: Yusuf Yaman
devel/addlicense: New port: Add license information to source code files

The program ensures source code files have copyright license
headers by scanning directory patterns recursively.

It modifies all source files in place and avoids adding
a license header to any file that already has one.

WWW:	https://github.com/google/addlicense \
	https://pkg.go.dev/github.com/google/addlicense

PR:		289328
Reported by:	Yusuf Yaman <nxjoseph@protonmail.com> (new maintainer)

Number of commits found: 1