git: a561a8b8ac95 - main - games/trojka: Moved man to share/man
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 24 Feb 2024 08:16:26 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a561a8b8ac956193e2f79221d544dbd643f8456a
commit a561a8b8ac956193e2f79221d544dbd643f8456a
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-24 07:55:40 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-24 07:55:40 +0000
games/trojka: Moved man to share/man
Approved by: portmgr (blanket)
---
games/trojka/Makefile | 2 +-
games/trojka/files/patch-Makefile | 2 +-
games/trojka/pkg-plist | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/games/trojka/Makefile b/games/trojka/Makefile
index 13afcdcca59a..69e1f6a8dd0b 100644
--- a/games/trojka/Makefile
+++ b/games/trojka/Makefile
@@ -1,6 +1,6 @@
PORTNAME= trojka
PORTVERSION= 1.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= ftp://ftp.funet.fi/pub/unix/games/
DISTNAME= ${PORTNAME}
diff --git a/games/trojka/files/patch-Makefile b/games/trojka/files/patch-Makefile
index bfe18b4308db..f8a39ba4ccf1 100644
--- a/games/trojka/files/patch-Makefile
+++ b/games/trojka/files/patch-Makefile
@@ -18,7 +18,7 @@
install:
- cp trojka /usr/games
+ ${BSD_INSTALL_PROGRAM} trojka $(DESTDIR)$(PREFIX)/bin
-+ ${BSD_INSTALL_MAN} trojka.6.out $(DESTDIR)$(PREFIX)/man/man6/trojka.6
++ ${BSD_INSTALL_MAN} trojka.6.out $(DESTDIR)$(PREFIX)/share/man/man6/trojka.6
+ mkdir -p $(DESTDIR)$(SCOREDIR)
+ touch $(DESTDIR)$(SCOREFILE).sample
+
diff --git a/games/trojka/pkg-plist b/games/trojka/pkg-plist
index c62295f2749a..f32a74ad0eb6 100644
--- a/games/trojka/pkg-plist
+++ b/games/trojka/pkg-plist
@@ -1,3 +1,3 @@
@(,games,2755) bin/trojka
-man/man6/trojka.6.gz
+share/man/man6/trojka.6.gz
@sample(,games,664) /var/games/trojka.scores.sample