git: f1c6facd1750 - main - graphics/drm-66-kmod: Fix port name in pkg-message

From: Mateusz Piotrowski <0mp_at_FreeBSD.org>
Date: Sat, 14 Jun 2025 15:06:09 UTC
The branch main has been updated by 0mp:

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

commit f1c6facd175004a16d8a5f530c1c1491a6556b8c
Author:     Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2025-06-14 14:20:41 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2025-06-14 14:23:34 +0000

    graphics/drm-66-kmod: Fix port name in pkg-message
    
    I'm specifically not bumping the PORTREVISION as the change in mostly
    cosmetic.
    
    Approved by:    portmgr (blanket)
    Fixes:          00508c01e276 graphics/drm-66-kmod: Add new port
---
 graphics/drm-66-kmod/Makefile             | 2 +-
 graphics/drm-66-kmod/files/pkg-message.in | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/graphics/drm-66-kmod/Makefile b/graphics/drm-66-kmod/Makefile
index 08be79ba7860..5ea1ba4b9715 100644
--- a/graphics/drm-66-kmod/Makefile
+++ b/graphics/drm-66-kmod/Makefile
@@ -29,7 +29,7 @@ GH_TAGNAME=	${DRM_KMOD_GH_TAGNAME}
 .include <bsd.port.options.mk>
 
 SUB_FILES=	pkg-message
-SUB_LIST=	OPSYS=${OPSYS} OSREL=${OSREL}
+SUB_LIST=	PORTNAME=${PORTNAME} OPSYS=${OPSYS} OSREL=${OSREL}
 
 .if ${OPSYS} == FreeBSD && !( ${OSVERSION} >= 1500031 )
 IGNORE=		not supported on older than 1500031, no kernel support
diff --git a/graphics/drm-66-kmod/files/pkg-message.in b/graphics/drm-66-kmod/files/pkg-message.in
index 0ca5e2d94286..95465e0ab188 100644
--- a/graphics/drm-66-kmod/files/pkg-message.in
+++ b/graphics/drm-66-kmod/files/pkg-message.in
@@ -1,7 +1,7 @@
 [
 { type: install
   message: <<EOM
-The drm-61-kmod port can be enabled for amdgpu (for AMD
+The %%PORTNAME%% port can be enabled for amdgpu (for AMD
 GPUs starting with the HD7000 series / Tahiti) or i915kms (for Intel
 APUs starting with HD3000 / Sandy Bridge) through kld_list in
 /etc/rc.conf. radeonkms for older AMD GPUs can be loaded and there are