1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00
Approved by:	portmgr@
This commit is contained in:
Vanilla I. Shu 2014-06-19 15:04:32 +00:00
parent 2599040fab
commit 289cceb8aa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=358429
3 changed files with 9 additions and 14 deletions

View File

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

View File

@ -0,0 +1,5 @@
* * *
Usage: fortune %%PREFIX%%/share/games/fortune/bofh
* * *

View File

@ -1,5 +0,0 @@
* * *
Usage: fortune PREFIX/share/games/fortune/bofh
* * *