aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/fortune-mod-futurama/Makefile3
-rw-r--r--misc/fortune-mod-futurama/files/pkg-message.in2
-rw-r--r--misc/fortune-mod-futurama/pkg-message2
3 files changed, 4 insertions, 3 deletions
diff --git a/misc/fortune-mod-futurama/Makefile b/misc/fortune-mod-futurama/Makefile
index 14338763ad7d..9a99a403ee91 100644
--- a/misc/fortune-mod-futurama/Makefile
+++ b/misc/fortune-mod-futurama/Makefile
@@ -15,6 +15,7 @@ MAINTAINER= vs@FreeBSD.org
COMMENT= Compilation of quotes from the TV series "Futurama"
USE_BZIP2= yes
+SUB_FILES= pkg-message
PLIST_FILES= share/games/fortune/futurama share/games/fortune/futurama.dat
PLIST_DIRS= share/games/fortune share/games
@@ -28,6 +29,6 @@ do-install:
@${INSTALL_DATA} ${WRKSRC}/futurama* ${PREFIX}/share/games/fortune
post-install:
- @${SED} 's#PREFIX#${PREFIX}#' <pkg-message
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/misc/fortune-mod-futurama/files/pkg-message.in b/misc/fortune-mod-futurama/files/pkg-message.in
new file mode 100644
index 000000000000..d73ab9e6ceeb
--- /dev/null
+++ b/misc/fortune-mod-futurama/files/pkg-message.in
@@ -0,0 +1,2 @@
+Usage:
+/usr/games/fortune %%PREFIX%%/share/games/fortune/futurama
diff --git a/misc/fortune-mod-futurama/pkg-message b/misc/fortune-mod-futurama/pkg-message
deleted file mode 100644
index 1cec4b19e8a0..000000000000
--- a/misc/fortune-mod-futurama/pkg-message
+++ /dev/null
@@ -1,2 +0,0 @@
-Usage:
-/usr/games/fortune PREFIX/share/games/fortune/futurama