summaryrefslogtreecommitdiff
path: root/misc/fortune-mod-futurama
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2005-07-14 08:42:51 +0000
committerVolker Stolz <vs@FreeBSD.org>2005-07-14 08:42:51 +0000
commitff5d20a902f0e811c9bbc2417596937975f3e09e (patch)
treea9c94d28b9ce82a873a336345ef818a1dab7e463 /misc/fortune-mod-futurama
parentUSB ups driver for sysutils/nut (diff)
Proper pkg-message handling
Based on PR: ports/83008 Submitted by: Dima Panov
Notes
Notes: svn path=/head/; revision=139190
Diffstat (limited to 'misc/fortune-mod-futurama')
-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