1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- Update to 1.4

- Take maintainership

Changes:
- Convert to UTF-8
- Prepare *.dat
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2014-04-02 19:02:00 +00:00
parent b976991378
commit e26a2c2450
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=349945
3 changed files with 13 additions and 33 deletions

View File

@ -2,42 +2,22 @@
# $FreeBSD$
PORTNAME= fortunetw
PORTVERSION= 1.3
PORTVERSION= 1.4
CATEGORIES= chinese
MASTER_SITES= LOCAL/chinsan \
http://chinsan2.twbbs.org/distfiles/
DISTNAME= zh-fortunetw-${PORTVERSION}
MASTER_SITES= LOCAL/sunpoet
MAINTAINER= ports@FreeBSD.org
COMMENT= Classic fortune file in Taiwan
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Classic fortune file in Taiwan (UTF-8)
NO_BUILD= yes
USES= tar:xz
STRCMD= /usr/games/strfile
FORTUNE= bsdchat folksong liuyong stephehchow tangshi xiaoxing yijing
do-install:
${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"
@${FALSE}
.endif
post-install:
${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
${MKDIR} ${STAGEDIR}${PREFIX}/share/games/fortune/
.for file in ${FORTUNE}
${INSTALL_DATA} ${WRKSRC}/${file} ${WRKSRC}/${file}.dat ${STAGEDIR}${PREFIX}/share/games/fortune/
.endfor
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (zh-fortunetw-1.3.tar.gz) = 64842320a319121b26b200b3d33c025b8a8b7691ed7df67b342f6c2fece53632
SIZE (zh-fortunetw-1.3.tar.gz) = 101873
SHA256 (fortunetw-1.4.tar.xz) = 172a67f1c3b926a67095ad527dedce59ebac7ab295e1ef50284e48ddb88c34b9
SIZE (fortunetw-1.4.tar.xz) = 104076

View File

@ -13,4 +13,4 @@ share/games/fortune/xiaoxing.dat
share/games/fortune/yijing
share/games/fortune/yijing.dat
@dirrm share/games/fortune
@dirrm share/games
@dirrmtry share/games