mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Stagify.
Approved by: portmgr@
This commit is contained in:
parent
2599040fab
commit
289cceb8aa
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=358429
@ -17,18 +17,13 @@ NO_BUILD= yes
|
||||
WRKSRC= ${WRKDIR}/bofh-fortune-mod2.0
|
||||
|
||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
SUB_FILES= pkg-message
|
||||
|
||||
STRFILE= /usr/games/strfile
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
@${CAT} pkg-message | ${SED} 's|PREFIX|${PREFIX}|' > ${PKGMESSAGE}
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${PREFIX}/share/games
|
||||
@${MKDIR} ${PREFIX}/share/games/fortune
|
||||
@${INSTALL_DATA} ${WRKSRC}/bofh ${PREFIX}/share/games/fortune
|
||||
@${STRFILE} ${PREFIX}/share/games/fortune/bofh
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/share/games/fortune
|
||||
@${INSTALL_DATA} ${WRKSRC}/bofh ${STAGEDIR}${PREFIX}/share/games/fortune
|
||||
@${STRFILE} ${STAGEDIR}${PREFIX}/share/games/fortune/bofh
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
5
misc/fortune-mod-bofh/files/pkg-message.in
Normal file
5
misc/fortune-mod-bofh/files/pkg-message.in
Normal file
@ -0,0 +1,5 @@
|
||||
* * *
|
||||
|
||||
Usage: fortune %%PREFIX%%/share/games/fortune/bofh
|
||||
|
||||
* * *
|
@ -1,5 +0,0 @@
|
||||
* * *
|
||||
|
||||
Usage: fortune PREFIX/share/games/fortune/bofh
|
||||
|
||||
* * *
|
Loading…
Reference in New Issue
Block a user