diff options
author | Tobias Kortkamp <tobik@FreeBSD.org> | 2019-07-15 14:08:02 +0000 |
---|---|---|
committer | Tobias Kortkamp <tobik@FreeBSD.org> | 2019-07-15 14:08:02 +0000 |
commit | 7f1e435747c0abe4676b9ddec37fdef151f00fae (patch) | |
tree | a9a83c5bf90e213a611f2959fb70c5635c11033a /ports-mgmt/portfmt/pkg-descr | |
parent | 4d3981b4aa339a9eddf737715a0fc342901e6cad (diff) | |
download | ports-7f1e435747c0abe4676b9ddec37fdef151f00fae.tar.gz ports-7f1e435747c0abe4676b9ddec37fdef151f00fae.zip |
Notes
Diffstat (limited to 'ports-mgmt/portfmt/pkg-descr')
-rw-r--r-- | ports-mgmt/portfmt/pkg-descr | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/ports-mgmt/portfmt/pkg-descr b/ports-mgmt/portfmt/pkg-descr index 6696c8cef332..5d525cd4172f 100644 --- a/ports-mgmt/portfmt/pkg-descr +++ b/ports-mgmt/portfmt/pkg-descr @@ -6,7 +6,20 @@ 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. At the moment it only comes with a - bump-revision command +- 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 WWW: https://github.com/t6/portfmt |