git: 49d4be15e2b3 - main - devel/muon: simplify distfile handling

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Tue, 04 Apr 2023 11:19:56 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=49d4be15e2b3b8c9e095c4bef5e8bed62bd239eb

commit 49d4be15e2b3b8c9e095c4bef5e8bed62bd239eb
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-04-04 10:53:38 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-04-04 11:18:37 +0000

    devel/muon: simplify distfile handling
    
    Embed PORTNAME and DISTVERSION into DISTNAME like other git.sr.ht ports.
    
    PR:             270635
    Approved by:    bapt (maintainer)
---
 devel/muon/Makefile | 7 +++----
 devel/muon/distinfo | 4 ++--
 2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/devel/muon/Makefile b/devel/muon/Makefile
index c828caed838c..6f12a5c65b7d 100644
--- a/devel/muon/Makefile
+++ b/devel/muon/Makefile
@@ -1,9 +1,9 @@
 PORTNAME=	muon
-PORTVERSION=	0.0.1.p1
+DISTVERSION=	0.0.1.p1
+DISTVERSIONSUFFIX=	-0-gb44e90f
 PORTREVISION=	1
 CATEGORIES=	devel
-MASTER_SITES=	https://git.sr.ht/~lattis/muon/archive/
-DISTNAME=	b44e90f
+MASTER_SITES=	https://git.sr.ht/~lattis/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
 
 MAINTAINER=	bapt@FreeBSD.org
 COMMENT=	Build system compatible with meson
@@ -16,7 +16,6 @@ BUILD_DEPENDS=	scdoc:textproc/scdoc
 
 USES=		ninja pkgconfig:both
 
-WRKSRC=		${WRKDIR}/${PORTNAME}-${DISTNAME}
 BUILD_WRKSRC=	${WRKSRC}/_build
 INSTALL_WRKSRC=	${WRKSRC}/_build
 
diff --git a/devel/muon/distinfo b/devel/muon/distinfo
index 25d52fb3e3d9..821f8fda8052 100644
--- a/devel/muon/distinfo
+++ b/devel/muon/distinfo
@@ -1,3 +1,3 @@
 TIMESTAMP = 1659537739
-SHA256 (b44e90f.tar.gz) = 926d5de4b4cee8ca047168d0611824081a982592349bc2fb0ddb99bcee07f79b
-SIZE (b44e90f.tar.gz) = 442889
+SHA256 (muon-0.0.1.p1-0-gb44e90f.tar.gz) = dd49f56020e25a472609028b67dbd12e092dad2aae35262894cfd7728d2c830e
+SIZE (muon-0.0.1.p1-0-gb44e90f.tar.gz) = 443017