1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

- Convert to staging

- Remove long 'usage' instructions
- Unsilence install commands
This commit is contained in:
Eitan Adler 2013-10-15 21:27:37 +00:00
parent 14e13da149
commit 02ce93ac89
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=330461

View File

@ -15,40 +15,29 @@ NO_BUILD= yes
STRCMD= /usr/games/strfile
NO_STAGE= yes
do-install:
@${MKDIR} ${PREFIX}/share/games/fortune
@${INSTALL_DATA} ${WRKSRC}/bsdchat ${PREFIX}/share/games/fortune
@${INSTALL_DATA} ${WRKSRC}/folksong ${PREFIX}/share/games/fortune
@${INSTALL_DATA} ${WRKSRC}/liuyong ${PREFIX}/share/games/fortune
@${INSTALL_DATA} ${WRKSRC}/stephehchow ${PREFIX}/share/games/fortune
@${INSTALL_DATA} ${WRKSRC}/tangshi ${PREFIX}/share/games/fortune
@${INSTALL_DATA} ${WRKSRC}/xiaoxing ${PREFIX}/share/games/fortune
@${INSTALL_DATA} ${WRKSRC}/yijing ${PREFIX}/share/games/fortune
${MKDIR} ${STAGEDIR}${PREFIX}/share/games/fortune
${INSTALL_DATA} ${WRKSRC}/bsdchat ${STAGEDIR}${PREFIX}/share/games/fortune
${INSTALL_DATA} ${WRKSRC}/folksong ${STAGEDIR}${PREFIX}/share/games/fortune
${INSTALL_DATA} ${WRKSRC}/liuyong ${STAGEDIR}${PREFIX}/share/games/fortune
${INSTALL_DATA} ${WRKSRC}/stephehchow ${STAGEDIR}${PREFIX}/share/games/fortune
${INSTALL_DATA} ${WRKSRC}/tangshi ${STAGEDIR}${PREFIX}/share/games/fortune
${INSTALL_DATA} ${WRKSRC}/xiaoxing ${STAGEDIR}${PREFIX}/share/games/fortune
${INSTALL_DATA} ${WRKSRC}/yijing ${STAGEDIR}${PREFIX}/share/games/fortune
pre-install:
.if !exists(${STRCMD})
@${ECHO_MSG} "Please install the games distribution"
@exit 1
@${FALSE}
.endif
post-install:
@${STRCMD} ${PREFIX}/share/games/fortune/bsdchat
@${STRCMD} ${PREFIX}/share/games/fortune/folksong
@${STRCMD} ${PREFIX}/share/games/fortune/liuyong
@${STRCMD} ${PREFIX}/share/games/fortune/stephehchow
@${STRCMD} ${PREFIX}/share/games/fortune/tangshi
@${STRCMD} ${PREFIX}/share/games/fortune/xiaoxing
@${STRCMD} ${PREFIX}/share/games/fortune/yijing
@${ECHO_MSG} ""
@${ECHO_MSG} "Usage:"
@${ECHO_MSG} "${STRCMD} ${PREFIX}/share/games/fortune/bsdchat"
@${ECHO_MSG} "${STRCMD} ${PREFIX}/share/games/fortune/folksong"
@${ECHO_MSG} "${STRCMD} ${PREFIX}/share/games/fortune/liuyong"
@${ECHO_MSG} "${STRCMD} ${PREFIX}/share/games/fortune/stephehchow"
@${ECHO_MSG} "${STRCMD} ${PREFIX}/share/games/fortune/tangshi"
@${ECHO_MSG} "${STRCMD} ${PREFIX}/share/games/fortune/xiaoxing"
@${ECHO_MSG} "${STRCMD} ${PREFIX}/share/games/fortune/yijing"
@${ECHO_MSG} ""
${STRCMD} ${STAGEDIR}${PREFIX}/share/games/fortune/bsdchat
${STRCMD} ${STAGEDIR}${PREFIX}/share/games/fortune/folksong
${STRCMD} ${STAGEDIR}${PREFIX}/share/games/fortune/liuyong
${STRCMD} ${STAGEDIR}${PREFIX}/share/games/fortune/stephehchow
${STRCMD} ${STAGEDIR}${PREFIX}/share/games/fortune/tangshi
${STRCMD} ${STAGEDIR}${PREFIX}/share/games/fortune/xiaoxing
${STRCMD} ${STAGEDIR}${PREFIX}/share/games/fortune/yijing
.include <bsd.port.mk>