1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Proper pkg-message handling

Based on PR:	ports/83008
Submitted by:	Dima Panov
This commit is contained in:
Volker Stolz 2005-07-14 08:42:51 +00:00
parent 09b4499eb2
commit ff5d20a902
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=139190
3 changed files with 4 additions and 3 deletions

View File

@ -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>

View File

@ -0,0 +1,2 @@
Usage:
/usr/games/fortune %%PREFIX%%/share/games/fortune/futurama

View File

@ -1,2 +0,0 @@
Usage:
/usr/games/fortune PREFIX/share/games/fortune/futurama