aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt/portfmt
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2019-07-15 14:08:02 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2019-07-15 14:08:02 +0000
commit7f1e435747c0abe4676b9ddec37fdef151f00fae (patch)
treea9a83c5bf90e213a611f2959fb70c5635c11033a /ports-mgmt/portfmt
parent4d3981b4aa339a9eddf737715a0fc342901e6cad (diff)
downloadports-7f1e435747c0abe4676b9ddec37fdef151f00fae.tar.gz
ports-7f1e435747c0abe4676b9ddec37fdef151f00fae.zip
ports-mgmt/portfmt: Update to latest commit
Add more portedit commands: - bump-epoch: bumps PORTEPOCH 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 tools like make cargo-crates, make stage-qa, or modules2tuple. - set-version: resets PORTREVISION, sets DISTVERSION or PORTVERSION
Notes
Notes: svn path=/head/; revision=506666
Diffstat (limited to 'ports-mgmt/portfmt')
-rw-r--r--ports-mgmt/portfmt/Makefile4
-rw-r--r--ports-mgmt/portfmt/distinfo6
-rw-r--r--ports-mgmt/portfmt/pkg-descr17
3 files changed, 20 insertions, 7 deletions
diff --git a/ports-mgmt/portfmt/Makefile b/ports-mgmt/portfmt/Makefile
index 824e51ff45f4..f32e45e18064 100644
--- a/ports-mgmt/portfmt/Makefile
+++ b/ports-mgmt/portfmt/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= portfmt
-PORTVERSION= g20190625
+PORTVERSION= g20190715
CATEGORIES= ports-mgmt
MAINTAINER= tobik@FreeBSD.org
@@ -12,7 +12,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GITHUB= yes
GH_ACCOUNT= t6
-GH_TAGNAME= 87b395d53b67b9b4c506b0195ca2aa2d3f2e53fa
+GH_TAGNAME= 710f98ca561502130f9bf6f51d6129a2a160da48
USE_LDCONFIG= yes
HAS_CONFIGURE= yes
diff --git a/ports-mgmt/portfmt/distinfo b/ports-mgmt/portfmt/distinfo
index 55e336d755a0..e3816e4fddae 100644
--- a/ports-mgmt/portfmt/distinfo
+++ b/ports-mgmt/portfmt/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1561436598
-SHA256 (t6-portfmt-g20190625-87b395d53b67b9b4c506b0195ca2aa2d3f2e53fa_GH0.tar.gz) = 6796f43e4134775735687070bea8298785e4fd45fa6fee331c9e9b5405572656
-SIZE (t6-portfmt-g20190625-87b395d53b67b9b4c506b0195ca2aa2d3f2e53fa_GH0.tar.gz) = 69216
+TIMESTAMP = 1563198376
+SHA256 (t6-portfmt-g20190715-710f98ca561502130f9bf6f51d6129a2a160da48_GH0.tar.gz) = 85cde78037424b06d945b414b7d4ef52714f052f6c963ecd02771a082d80fc5e
+SIZE (t6-portfmt-g20190715-710f98ca561502130f9bf6f51d6129a2a160da48_GH0.tar.gz) = 70596
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