diff options
author | vs <vs@FreeBSD.org> | 2005-07-14 08:42:51 +0000 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2005-07-14 08:42:51 +0000 |
commit | 1a8cef73553b49ac567b740d12e912e2e9bf08c2 (patch) | |
tree | 823922a33d3b88452b4f273a9bc8c712a3481245 /misc | |
parent | 5581a35d423054d74d02cf84d46f4b019d452aaa (diff) | |
download | FreeBSD-ports-1a8cef73553b49ac567b740d12e912e2e9bf08c2.zip FreeBSD-ports-1a8cef73553b49ac567b740d12e912e2e9bf08c2.tar.gz |
Proper pkg-message handling
Based on PR: ports/83008
Submitted by: Dima Panov
Diffstat (limited to 'misc')
-rw-r--r-- | misc/fortune-mod-futurama/Makefile | 3 | ||||
-rw-r--r-- | misc/fortune-mod-futurama/files/pkg-message.in | 2 | ||||
-rw-r--r-- | misc/fortune-mod-futurama/pkg-message | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/misc/fortune-mod-futurama/Makefile b/misc/fortune-mod-futurama/Makefile index 1433876..9a99a40 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 0000000..d73ab9e --- /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 1cec4b1..0000000 --- a/misc/fortune-mod-futurama/pkg-message +++ /dev/null @@ -1,2 +0,0 @@ -Usage: -/usr/games/fortune PREFIX/share/games/fortune/futurama |