git: e0f13fde4a10 - main - games/bsdtris: Sanitize MANPREFIX
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 22 Jan 2024 10:42:54 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e0f13fde4a1095a50899cd00c9024298d72a4d62
commit e0f13fde4a1095a50899cd00c9024298d72a4d62
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-22 10:37:40 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-22 10:42:29 +0000
games/bsdtris: Sanitize MANPREFIX
Approved by: portmgr (blanket)
---
games/bsdtris/Makefile | 2 +-
games/bsdtris/files/patch-Makefile | 2 +-
games/bsdtris/pkg-plist | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/games/bsdtris/Makefile b/games/bsdtris/Makefile
index 4160fb9d395d..38d3848396bc 100644
--- a/games/bsdtris/Makefile
+++ b/games/bsdtris/Makefile
@@ -1,6 +1,6 @@
PORTNAME= bsdtris
PORTVERSION= 1.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= http://www.mavetju.org/download/adopted/
DISTNAME= ${PORTNAME}-01092003
diff --git a/games/bsdtris/files/patch-Makefile b/games/bsdtris/files/patch-Makefile
index 190b2a9ca217..d4982dcf258c 100644
--- a/games/bsdtris/files/patch-Makefile
+++ b/games/bsdtris/files/patch-Makefile
@@ -18,7 +18,7 @@
+
+install:
+ ${BSD_INSTALL_PROGRAM} tetris ${DESTDIR}${PREFIX}/bin/bsdtris
-+ ${BSD_INSTALL_MAN} tetris.6 ${DESTDIR}${MANPREFIX}/man/man6/bsdtris.6
++ ${BSD_INSTALL_MAN} tetris.6 ${DESTDIR}${PREFIX}/share/man/man6/bsdtris.6
+ ${MKDIR} ${DESTDIR}/var/games
+
+clean:
diff --git a/games/bsdtris/pkg-plist b/games/bsdtris/pkg-plist
index ae662091c119..3948db4ab16e 100644
--- a/games/bsdtris/pkg-plist
+++ b/games/bsdtris/pkg-plist
@@ -1,4 +1,4 @@
@(,games,) bin/bsdtris
-man/man6/bsdtris.6.gz
+share/man/man6/bsdtris.6.gz
@postexec touch /var/games/bsdtris.scores ; chmod 664 /var/games/bsdtris.scores ; chgrp games /var/games/bsdtris.scores
@rmempty /var/games/bsdtris.scores