Tweak ports-mgmt/porttree version 1.1.r114_1
[dports.git] / ports-mgmt / portfmt / pkg-descr
1 Portfmt is a collection of tools for editing, formatting, and linting
2 FreeBSD Ports Collection Makefiles.
3
4 It comes with several tools:
5
6 - portfmt formats Makefiles
7 - portclippy is a linter that checks if variables are in the correct
8   order in a more comprehensive way than portlint
9 - portedit edits Makefiles.  It comes with several commands
10   that can be used as a basis for your own port update scripts:
11   - bump-epoch: bumps PORTEPOCH or inserts it at the right place
12   - bump-revision: bumps PORTREVISION or inserts it at the right place
13   - get: lookup unevaluated variable values
14   - merge: Generic command to set/update variables while also
15     formatting the updated variables properly and inserting them
16     in the right places if necessary.  Useful for merging output
17     of other tools like make cargo-crates, modules2tuple, or make
18     stage-qa.  For example to mark a port deprecated:
19
20         printf "DEPRECATED=%s\nEXPIRATION_DATE=%s" \
21                 Abandonware 2019-08-15 | portedit merge -i Makefile
22
23   - set-version: resets PORTREVISION, sets DISTVERSION or PORTVERSION