1
0
mirror of https://git.freebsd.org/ports.git synced 2026-06-02 11:08:52 +00:00

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

Reported by:	diizzy
This commit is contained in:
Gleb Popov
2025-11-23 11:57:49 +03:00
parent 1253a2cbaf
commit f2fbe95c27
2 changed files with 8 additions and 6 deletions
+3 -1
View File
@@ -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:
+5 -5
View File
@@ -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