aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2010-01-10 08:36:23 +0800
committerpgollucci <pgollucci@FreeBSD.org>2010-01-10 08:36:23 +0800
commitf41e82afddfbc7fff2d4d2e3d76b6c165f545f5c (patch)
tree750d1e67c381527ff3d59053419250d187fc3492 /games
parented18fd4b686ac4de47019fa2363a59a59aa8f63b (diff)
downloadfreebsd-ports-gnome-f41e82afddfbc7fff2d4d2e3d76b6c165f545f5c.tar.gz
freebsd-ports-gnome-f41e82afddfbc7fff2d4d2e3d76b6c165f545f5c.tar.zst
freebsd-ports-gnome-f41e82afddfbc7fff2d4d2e3d76b6c165f545f5c.zip
SUBFILES += pkg-message
PR: ports/142535 Submitted by: Sevan Janiyan <venture37@geeklan.co.uk>
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%%