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
This commit is contained in:
Yasuhiro Kimura 2025-02-04 18:27:15 +09:00
parent 85b9e257ac
commit 19d0e89009
2 changed files with 14 additions and 12 deletions

View File

@ -1,6 +1,6 @@
PORTNAME= porttools
PORTVERSION= 1.11
PORTREVISION= 1
DISTVERSION= 1.11
PORTREVISION= 2
CATEGORIES= ports-mgmt
MAINTAINER= skreuzer@FreeBSD.org
@ -9,18 +9,20 @@ 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

View File

@ -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