aboutsummaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2013-10-16 05:27:37 +0800
committereadler <eadler@FreeBSD.org>2013-10-16 05:27:37 +0800
commitbac22a58caed45ebf716154e5b0163de53d58e6d (patch)
tree4df70e8674d598bc69a9985124f934ba1a47a1ce /chinese
parenta89e597e28e95fdab83d7e4c7b8bc2d98d7cf213 (diff)
downloadfreebsd-ports-gnome-bac22a58caed45ebf716154e5b0163de53d58e6d.tar.gz
freebsd-ports-gnome-bac22a58caed45ebf716154e5b0163de53d58e6d.tar.zst
freebsd-ports-gnome-bac22a58caed45ebf716154e5b0163de53d58e6d.zip
- Convert to staging
- Remove long 'usage' instructions - Unsilence install commands
Diffstat (limited to 'chinese')
-rw-r--r--chinese/fortunetw/Makefile43
1 files changed, 16 insertions, 27 deletions
diff --git a/chinese/fortunetw/Makefile b/chinese/fortunetw/Makefile
index d1f7dc44c84b..b037100f66ab 100644
--- a/chinese/fortunetw/Makefile
+++ b/chinese/fortunetw/Makefile
@@ -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>