aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/trojka/Makefile3
-rw-r--r--games/trojka/files/pkg-message.in (renamed from games/trojka/pkg-message)0
-rw-r--r--games/trojka/pkg-plist8
3 files changed, 6 insertions, 5 deletions
diff --git a/games/trojka/Makefile b/games/trojka/Makefile
index e381ad59c2c5..8b83a0082cb0 100644
--- a/games/trojka/Makefile
+++ b/games/trojka/Makefile
@@ -15,8 +15,9 @@ MAINTAINER= e@ik.nu
COMMENT= A game of skill
MAN6= trojka.6
+SUB_FILES= pkg-message
post-install:
- ${SED} "s|%%PREFIX%%|${PREFIX}|" ${PKGMESSAGE}
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/games/trojka/pkg-message b/games/trojka/files/pkg-message.in
index 6f3b8e6278c6..6f3b8e6278c6 100644
--- a/games/trojka/pkg-message
+++ b/games/trojka/files/pkg-message.in
diff --git a/games/trojka/pkg-plist b/games/trojka/pkg-plist
index c74345df8212..17a4fda4e4d1 100644
--- a/games/trojka/pkg-plist
+++ b/games/trojka/pkg-plist
@@ -1,5 +1,5 @@
bin/trojka
-share/trojka/COPYRIGHT
-share/trojka/README
-share/trojka/trojka.scores
-@dirrm share/trojka
+%%DATADIR%%/COPYRIGHT
+%%DATADIR%%/README
+%%DATADIR%%/trojka.scores
+@dirrm %%DATADIR%%