aboutsummaryrefslogtreecommitdiff
path: root/games/trojka
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-01-10 00:36:23 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-01-10 00:36:23 +0000
commit4b8c4483a8172d5adbaf22395809288f4eee6132 (patch)
tree4ba2477e36a6242295bfc5e508d94b82b4d2a684 /games/trojka
parentea1cef69d66139ec30452b2fe6a5759aee247907 (diff)
downloadports-4b8c4483a8172d5adbaf22395809288f4eee6132.tar.gz
ports-4b8c4483a8172d5adbaf22395809288f4eee6132.zip
SUBFILES += pkg-message
PR: ports/142535 Submitted by: Sevan Janiyan <venture37@geeklan.co.uk>
Notes
Notes: svn path=/head/; revision=247501
Diffstat (limited to 'games/trojka')
-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%%