git: 19d0e890093f - main - ports-mgmt/porttools: Fix content of distfile

From: Yasuhiro Kimura <yasu_at_FreeBSD.org>
Date: Wed, 19 Feb 2025 05:47:40 UTC
The branch main has been updated by yasu:

URL: https://cgit.FreeBSD.org/ports/commit/?id=19d0e890093ffb39b991fcbf9430c689daefc90e

commit 19d0e890093ffb39b991fcbf9430c689daefc90e
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2025-02-04 09:27:15 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2025-02-19 05:45:40 +0000

    ports-mgmt/porttools: Fix content of distfile
    
    When this port was update to 1.11, value of GH_TAGNAME wasn't
    changed.and still points to the commit that is referenced by "1.10"
    tag. As a result name of distfile was changed but content was kept
    same as that of 1.10. Since defult value of GH_TAGNAME is "1.11" in
    this case, fix content of distfile by just removing GH_TAGNAME.
    
    While here,
    * Switch to DISTVERSION.
    * Pet portlint.
    * Tidy up Makefile with portfmt.
    
    PR:             284558
    Approved by:    maintiner timeout
    Fixes:          2377892144ca ports-mgmt/porttools: update to 1.11
---
 ports-mgmt/porttools/Makefile | 20 +++++++++++---------
 ports-mgmt/porttools/distinfo |  6 +++---
 2 files changed, 14 insertions(+), 12 deletions(-)

diff --git a/ports-mgmt/porttools/Makefile b/ports-mgmt/porttools/Makefile
index a0107be1c049..e4861cfaa193 100644
--- a/ports-mgmt/porttools/Makefile
+++ b/ports-mgmt/porttools/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	porttools
-PORTVERSION=	1.11
-PORTREVISION=	1
+DISTVERSION=	1.11
+PORTREVISION=	2
 CATEGORIES=	ports-mgmt
 
 MAINTAINER=	skreuzer@FreeBSD.org
@@ -9,21 +9,23 @@ WWW=		https://github.com/skreuzer/porttools/
 
 LICENSE=	BSD2CLAUSE
 
-RUN_DEPENDS=	portlint:ports-mgmt/portlint \
-		ydiff:textproc/ydiff \
+RUN_DEPENDS=	git:devel/git \
+		portlint:ports-mgmt/portlint \
 		sudo:security/sudo \
-		git:devel/git
+		ydiff:textproc/ydiff
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	skreuzer
-GH_TAGNAME=	1ec3e1d3c00e77cadc9a4dfd7f75de9674909016
 
 # Make the version information of porttools itself
 # available for inclusion in the PRs generated by it.
-MAKE_ENV+=	DATADIR="${DATADIR}" DOCSDIR="${DOCSDIR}" MANPREFIX="${PREFIX}/share" PORTVERSION="${PORTVERSION}"
+MAKE_ENV+=	DATADIR="${DATADIR}" \
+		DOCSDIR="${DOCSDIR}" \
+		MANPREFIX="${PREFIX}/share" \
+		PORTVERSION="${PORTVERSION}"
 
-OPTIONS_DEFINE=		DOCS
+OPTIONS_DEFINE=	DOCS
 
-DOCS_INSTALL_TARGET=	 install install-docs
+DOCS_INSTALL_TARGET=	install install-docs
 
 .include <bsd.port.mk>
diff --git a/ports-mgmt/porttools/distinfo b/ports-mgmt/porttools/distinfo
index b2bdd594672d..e926508b47b0 100644
--- a/ports-mgmt/porttools/distinfo
+++ b/ports-mgmt/porttools/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1680380742
-SHA256 (skreuzer-porttools-1.11-1ec3e1d3c00e77cadc9a4dfd7f75de9674909016_GH0.tar.gz) = 80668178e9d627c25df5d62308ac1c3567e98fb9b7a471b983a35553303a759a
-SIZE (skreuzer-porttools-1.11-1ec3e1d3c00e77cadc9a4dfd7f75de9674909016_GH0.tar.gz) = 19525
+TIMESTAMP = 1738660955
+SHA256 (skreuzer-porttools-1.11_GH0.tar.gz) = 1bab347eb1b75d2590b37e2e8c5e6bcc3a3066c8b9b2af82ce2eea54ec0582b7
+SIZE (skreuzer-porttools-1.11_GH0.tar.gz) = 19506