From ff5d20a902f0e811c9bbc2417596937975f3e09e Mon Sep 17 00:00:00 2001 From: Volker Stolz Date: Thu, 14 Jul 2005 08:42:51 +0000 Subject: Proper pkg-message handling Based on PR: ports/83008 Submitted by: Dima Panov --- misc/fortune-mod-futurama/Makefile | 3 ++- misc/fortune-mod-futurama/files/pkg-message.in | 2 ++ misc/fortune-mod-futurama/pkg-message | 2 -- 3 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 misc/fortune-mod-futurama/files/pkg-message.in delete mode 100644 misc/fortune-mod-futurama/pkg-message (limited to 'misc/fortune-mod-futurama') 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}#' 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 -- cgit v1.2.3