ports-mgmt/portfmt 1.1.6 FreeBSD
Format FreeBSD Ports Makefiles
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- BSD2CLAUSE
- Categories
- ports-mgmt
- Package size
- 210.1 KiB, 1195.4 KiB installed
Description
Portfmt is a collection of tools for editing, formatting, and linting FreeBSD Ports Collection Makefiles.
It comes with several tools:
- portfmt formats Makefiles
- portclippy is a linter that checks if variables are in the correct order in a more comprehensive way than portlint
- portedit edits Makefiles. It comes with several commands
that can be used as a basis for your own port update scripts:
-
bump-epoch: bumps PORTEPOCH or inserts it at the right place
-
bump-revision: bumps PORTREVISION or inserts it at the right place
-
get: lookup unevaluated variable values
-
merge: Generic command to set/update variables while also formatting the updated variables properly and inserting them in the right places if necessary. Useful for merging output of other tools like make cargo-crates, modules2tuple, or make stage-qa. For example to mark a port deprecated:
printf "DEPRECATED=%s\nEXPIRATION_DATE=%s" \ Abandonware 2019-08-15 | portedit merge -i Makefile
-
set-version: resets PORTREVISION, sets DISTVERSION or PORTVERSION
-
In the other systems
The newest version among them is 1.1.6, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| FreeBSD | ports-mgmt/portfmt | 1.1.6 newest | none known | - | [email protected] | - |
| DragonFly | ports-mgmt/portfmt | 1.1.5 | none known | - | [email protected] | - |
| MidnightBSD | ports-mgmt/portfmt | 1.1.6_1 newest | no data | - | [email protected] | - |
| HardenedBSD | ports-mgmt/portfmt | 1.1.6 newest | no data | - | [email protected] | - |
| GhostBSD | ports-mgmt/portfmt | 1.1.6 newest | no data | - | [email protected] | - |
Install
Binary package:
pkg install portfmt
From the ports tree:
cd /usr/ports/ports-mgmt/portfmt/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= portfmt>0:ports-mgmt/portfmt
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.1.6 | 1.1.6 | 1.1.4 | 1.1.6 | 1.1.6 |
| FreeBSD:14:quarterly | 1.1.6 | 1.1.6 | n/a | 1.1.6 | 1.1.6 |
| FreeBSD:15:latest | 1.1.6 | 1.1.6 | n/a | 1.1.6 | 1.1.6 |
| FreeBSD:15:quarterly | 1.1.6 | 1.1.6 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.1.6 | 1.1.6 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependency graph
Ports that need it on the left, what it needs to run on the right (to build, as it needs nothing to run); at most 8 of each. "Dependencies" below lists them all.
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 8
No port depends on this one.
Configuration
Options name: ports-mgmt_portfmt
| Option | Default | Description |
|---|---|---|
| SUBPACKAGES | off | Subpackages support (D16457) |
- USES
- compiler:c11 ninja tar:lz
- Service scripts
- none
Files
Manual pages 4
- portclippy(1)
- portedit(1)
- portfmt(1)
- portscan(1)
pkg-plist 8
- bin/portclippy
- bin/portedit
- bin/portfmt
- bin/portscan
- share/man/man1/portclippy.1.gz
- share/man/man1/portedit.1.gz
- share/man/man1/portfmt.1.gz
- share/man/man1/portscan.1.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| portfmt-1.1.6.tar.lz | 176481 | e9fe0a260a72212c97417bf8dbaa318e2317233b965e018ebb4b4a5e8e0ade95 |
Master sites 1
- https://codeberg.org/tobik/portfmt/releases/download/v1.1.6/
Commit history 0
No commits in the history this site was built from.