git: 9638a781c71e - main - games/eureka: Sanitize MANPREFIX

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 22 Jan 2024 10:42:55 UTC
The branch main has been updated by bofh:

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

commit 9638a781c71e0d212ec063ad54f06fc2b3e62f1b
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-22 10:40:10 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-22 10:42:29 +0000

    games/eureka: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 games/eureka/Makefile             | 2 +-
 games/eureka/files/patch-Makefile | 2 +-
 games/eureka/pkg-plist            | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/games/eureka/Makefile b/games/eureka/Makefile
index 091317374c82..cef5d5692003 100644
--- a/games/eureka/Makefile
+++ b/games/eureka/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	eureka
 DISTVERSION=	1.27b
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	games
 MASTER_SITES=	SF/${PORTNAME}-editor/Eureka/${PORTVERSION:R}
 DISTNAME=	${PORTNAME}-${DISTVERSION}-source
diff --git a/games/eureka/files/patch-Makefile b/games/eureka/files/patch-Makefile
index ba984bccfa34..b0db9ad69881 100644
--- a/games/eureka/files/patch-Makefile
+++ b/games/eureka/files/patch-Makefile
@@ -15,7 +15,7 @@
  install: all
 -	install -m 755 $(PROGRAM) $(DESTDIR)$(PREFIX)/bin/
 +	$(BSD_INSTALL_PROGRAM) $(PROGRAM) $(DESTDIR)$(PREFIX)/bin
-+	$(BSD_INSTALL_MAN) misc/$(PROGRAM).6 $(DESTDIR)$(MANPREFIX)/man/man6
++	$(BSD_INSTALL_MAN) misc/$(PROGRAM).6 $(DESTDIR)$(PREFIX)/share/man/man6
 +	$(BSD_INSTALL_DATA) misc/$(PROGRAM).desktop \
 +		$(DESTDIR)$(PREFIX)/share/applications
  	install -d $(INSTALL_DIR)/games
diff --git a/games/eureka/pkg-plist b/games/eureka/pkg-plist
index 1b79603e5036..22922008d83e 100644
--- a/games/eureka/pkg-plist
+++ b/games/eureka/pkg-plist
@@ -1,5 +1,5 @@
 bin/eureka
-man/man6/eureka.6.gz
+share/man/man6/eureka.6.gz
 share/applications/eureka.desktop
 %%DATADIR%%/about_logo.png
 %%DATADIR%%/bindings.cfg