summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-02-24 08:55:40 +0100
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-02-24 08:55:40 +0100
commita561a8b8ac956193e2f79221d544dbd643f8456a (patch)
treee0616394e4e7b2eb799d2664cf7b4c80a2204db4
parent8775cf0051e25ebe22980fb50c2dbd1e575fbf24 (diff)
downloadfreebsd-ports-a561a8b8ac956193e2f79221d544dbd643f8456a.zip
games/trojka: Moved man to share/man
Approved by: portmgr (blanket)
-rw-r--r--games/trojka/Makefile2
-rw-r--r--games/trojka/files/patch-Makefile2
-rw-r--r--games/trojka/pkg-plist2
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