aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-07-14 16:42:51 +0800
committervs <vs@FreeBSD.org>2005-07-14 16:42:51 +0800
commit1a8cef73553b49ac567b740d12e912e2e9bf08c2 (patch)
tree823922a33d3b88452b4f273a9bc8c712a3481245
parent5581a35d423054d74d02cf84d46f4b019d452aaa (diff)
downloadfreebsd-ports-gnome-1a8cef73553b49ac567b740d12e912e2e9bf08c2.tar.gz
freebsd-ports-gnome-1a8cef73553b49ac567b740d12e912e2e9bf08c2.tar.zst
freebsd-ports-gnome-1a8cef73553b49ac567b740d12e912e2e9bf08c2.zip
Proper pkg-message handling
Based on PR: ports/83008 Submitted by: Dima Panov
-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