git: f2fbe95c27b4 - main - games/devd-controller-rules: Use DIST_SUBDIR to store unversioned distfiles

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Sun, 23 Nov 2025 08:58:35 UTC
The branch main has been updated by arrowd:

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

commit f2fbe95c27b4b2b6022e8fc0df52afeb3d2b91ec
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2025-11-23 08:57:49 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2025-11-23 08:58:30 +0000

    games/devd-controller-rules: Use DIST_SUBDIR to store unversioned distfiles
    
    Reported by:    diizzy
---
 games/devd-controller-rules/Makefile |  4 +++-
 games/devd-controller-rules/distinfo | 10 +++++-----
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/games/devd-controller-rules/Makefile b/games/devd-controller-rules/Makefile
index 7c5f48d60c46..c17f4ca9a430 100644
--- a/games/devd-controller-rules/Makefile
+++ b/games/devd-controller-rules/Makefile
@@ -4,6 +4,7 @@ CATEGORIES=	games
 MASTER_SITES=	https://raw.githubusercontent.com/libsdl-org/SDL/${SDL_COMMIT}/src/joystick/:headers
 DISTFILES=	usb_ids.h:headers \
 		controller_list.h:headers
+DIST_SUBDIR=	${PORTNAME}/${DISTVERSION}
 EXTRACT_ONLY=
 
 MAINTAINER=	arrowd@FreeBSD.org
@@ -23,7 +24,8 @@ PLIST_FILES=	etc/devd/${RULES_FILE}
 RULES_FILE=	gamecontrollers.conf
 
 do-extract:
-	${CP} ${DISTDIR}/usb_ids.h ${DISTDIR}/controller_list.h ${WRKDIR}
+	${CP} ${DISTDIR}/${DIST_SUBDIR}/usb_ids.h \
+		${DISTDIR}/${DIST_SUBDIR}/controller_list.h ${WRKDIR}
 	${INSTALL_SCRIPT} ${FILESDIR}/freebsd-sdl-controller-devd-rules.rb ${WRKDIR}
 
 do-build:
diff --git a/games/devd-controller-rules/distinfo b/games/devd-controller-rules/distinfo
index f55e2ef03d54..b88b4061ebe9 100644
--- a/games/devd-controller-rules/distinfo
+++ b/games/devd-controller-rules/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1763397232
-SHA256 (usb_ids.h) = e4731c52c51bb7e5afe910f73b2726132a03d8905917e7e0578e3569eba7406e
-SIZE (usb_ids.h) = 11704
-SHA256 (controller_list.h) = cc87bb3c596ed9c962cfb1d9c5afa32afadd5190b3833cfc608de0a09ae3a757
-SIZE (controller_list.h) = 73014
+TIMESTAMP = 1763888241
+SHA256 (devd-controller-rules/2025.11.17/usb_ids.h) = e4731c52c51bb7e5afe910f73b2726132a03d8905917e7e0578e3569eba7406e
+SIZE (devd-controller-rules/2025.11.17/usb_ids.h) = 11704
+SHA256 (devd-controller-rules/2025.11.17/controller_list.h) = cc87bb3c596ed9c962cfb1d9c5afa32afadd5190b3833cfc608de0a09ae3a757
+SIZE (devd-controller-rules/2025.11.17/controller_list.h) = 73014