git: db5655d04392 - main - devel/git-filter-repo: Use example 18 in the handbook as a template
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 21 Oct 2024 23:05:36 UTC
The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/ports/commit/?id=db5655d04392d2b627df09a23d16f7598624d6e9 commit db5655d04392d2b627df09a23d16f7598624d6e9 Author: Cy Schubert <cy@FreeBSD.org> AuthorDate: 2024-10-21 23:01:49 +0000 Commit: Cy Schubert <cy@FreeBSD.org> CommitDate: 2024-10-21 23:01:49 +0000 devel/git-filter-repo: Use example 18 in the handbook as a template With this approach, the distfile fetched from GH created a WRKSRC name not expected by ports plumbing. We also need to Adjust WRKSRC to match the extracted directory name from the tarball. Reported by: diizzy --- devel/git-filter-repo/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/devel/git-filter-repo/Makefile b/devel/git-filter-repo/Makefile index d8932bad06c1..bde103beb448 100644 --- a/devel/git-filter-repo/Makefile +++ b/devel/git-filter-repo/Makefile @@ -2,12 +2,14 @@ PORTNAME= git-filter-repo DISTVERSIONPREFIX= v DISTVERSION= 2.45.0 PORTREVISION= 1 +DISTVERSIONSUFFIX= -a9093a6 CATEGORIES= devel MAINTAINER= cy@FreeBSD.org COMMENT= git filter-repo is a versatile tool for rewriting history WWW= https://github.com/newren/git-filter-repo +WRKSRC= ${WRKDIR}/${PORTNAME}${DISTVERSIONSUFFIX} LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING.mit @@ -21,7 +23,6 @@ SHEBANG_FILES= git-filter-repo USE_GITHUB= yes GH_ACCOUNT= newren -GH_TAGNAME= a9093a6 NO_BUILD= yes NO_ARCH= yes