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:
parent
09b4499eb2
commit
ff5d20a902
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=139190
@ -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>
|
||||
|
2
misc/fortune-mod-futurama/files/pkg-message.in
Normal file
2
misc/fortune-mod-futurama/files/pkg-message.in
Normal file
@ -0,0 +1,2 @@
|
||||
Usage:
|
||||
/usr/games/fortune %%PREFIX%%/share/games/fortune/futurama
|
@ -1,2 +0,0 @@
|
||||
Usage:
|
||||
/usr/games/fortune PREFIX/share/games/fortune/futurama
|
Loading…
Reference in New Issue
Block a user