Update to 1.1 Mmmm digital fortune cookie
PR: 33048 Submitted by: maintainer
This commit is contained in:
parent
c7ad6c0eb6
commit
38c3babbb1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=51963
3 changed files with 9 additions and 3 deletions
|
@ -6,9 +6,9 @@
|
|||
#
|
||||
|
||||
PORTNAME= fortunetw
|
||||
PORTVERSION= 1.0
|
||||
PORTVERSION= 1.1
|
||||
CATEGORIES= chinese
|
||||
MASTER_SITES= http://freebsd.sinica.edu.tw/~statue/
|
||||
MASTER_SITES= ftp://freebsd.sinica.edu.tw/pub/statue/fortunetw/
|
||||
DISTNAME= zh-fortunetw-${PORTVERSION}
|
||||
|
||||
MAINTAINER= statue@freebsd.sinica.edu.tw
|
||||
|
@ -19,6 +19,7 @@ STRCMD= /usr/games/strfile
|
|||
|
||||
do-install:
|
||||
@${MKDIR} ${PREFIX}/share/games/fortune
|
||||
@${INSTALL_DATA} ${WRKSRC}/liuyong ${PREFIX}/share/games/fortune
|
||||
@${INSTALL_DATA} ${WRKSRC}/tangshi ${PREFIX}/share/games/fortune
|
||||
@${INSTALL_DATA} ${WRKSRC}/yijing ${PREFIX}/share/games/fortune
|
||||
|
||||
|
@ -29,10 +30,13 @@ pre-install:
|
|||
.endif
|
||||
|
||||
post-install:
|
||||
@${STRCMD} ${PREFIX}/share/games/fortune/liuyong
|
||||
@${STRCMD} ${PREFIX}/share/games/fortune/tangshi
|
||||
@${STRCMD} ${PREFIX}/share/games/fortune/yijing
|
||||
@${ECHO_MSG} ""
|
||||
@${ECHO_MSG} "Usage:"
|
||||
@${ECHO_MSG} "/usr/games/fortune ${PREFIX}/share/games/fortune/liuyong"
|
||||
@${ECHO_MSG} "or"
|
||||
@${ECHO_MSG} "/usr/games/fortune ${PREFIX}/share/games/fortune/tangshi"
|
||||
@${ECHO_MSG} "or"
|
||||
@${ECHO_MSG} "/usr/games/fortune ${PREFIX}/share/games/fortune/yijing"
|
||||
|
|
|
@ -1 +1 @@
|
|||
MD5 (zh-fortunetw-1.0.tar.gz) = 7b400d8994284ecd5b74aeaf0885693c
|
||||
MD5 (zh-fortunetw-1.1.tar.gz) = 7d08025492ce8c94d18b4509573cfc1f
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
share/games/fortune/liuyong
|
||||
share/games/fortune/liuyong.dat
|
||||
share/games/fortune/tangshi
|
||||
share/games/fortune/tangshi.dat
|
||||
share/games/fortune/yijing
|
||||
|
|
Loading…
Reference in a new issue