pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

xdg-utils: Use PKGVERSION_NOREV instead of hardcoding it



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Mon Jul 1 18:45:14 2024 +0200
Changeset:	600a575d1f4e307179440eed42557bb851999c2c

Modified Files:
	xdg-utils/Makefile

Log Message:
xdg-utils: Use PKGVERSION_NOREV instead of hardcoding it

At least for MASTER_SITES we avoid having a line that will always diff
at each update. For WRKSRC definition we reduce to a single "word" the
diff for every release.

NFC.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=600a575d1f4e307179440eed42557bb851999c2c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 xdg-utils/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diffs:
diff --git a/xdg-utils/Makefile b/xdg-utils/Makefile
index cd2499656e..74a53b92cf 100644
--- a/xdg-utils/Makefile
+++ b/xdg-utils/Makefile
@@ -2,14 +2,14 @@
 
 DISTNAME=	xdg-utils-1.2.1
 CATEGORIES=	misc
-MASTER_SITES=	https://gitlab.freedesktop.org/xdg/xdg-utils/-/archive/v1.2.1/
+MASTER_SITES=	https://gitlab.freedesktop.org/xdg/xdg-utils/-/archive/v${PKGVERSION_NOREV}/
 
 MAINTAINER=	leot%NetBSD.org@localhost
 HOMEPAGE=	https://www.freedesktop.org/wiki/Software/xdg-utils/
 COMMENT=	Tools to assist applications with various desktop integration tasks
 LICENSE=	mit
 
-WRKSRC=		${WRKDIR}/xdg-utils-v1.2.1-356c380ad6fecc9ce6bea1f6a77986ba67402c80
+WRKSRC=		${WRKDIR}/xdg-utils-v${PKGVERSION_NOREV}-356c380ad6fecc9ce6bea1f6a77986ba67402c80
 
 TOOL_DEPENDS+=	xmlto-[0-9]*:../../textproc/xmlto
 TOOL_DEPENDS+=	w3m-[0-9]*:../../www/w3m


Home | Main Index | Thread Index | Old Index