aboutsummaryrefslogtreecommitdiff
path: root/chinese/fortunetw
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2006-02-02 16:26:57 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2006-02-02 16:26:57 +0000
commit1f215821d0691dd952dc407121e763138b488d06 (patch)
treebcc942a51de6e8ad5b8ccb08fe415b8fab5ab0a2 /chinese/fortunetw
parent65b9028a8b9f1936852ddd9c95273dd6743e0ff3 (diff)
downloadports-1f215821d0691dd952dc407121e763138b488d06.tar.gz
ports-1f215821d0691dd952dc407121e763138b488d06.zip
Notes
Diffstat (limited to 'chinese/fortunetw')
-rw-r--r--chinese/fortunetw/Makefile24
-rw-r--r--chinese/fortunetw/distinfo6
-rw-r--r--chinese/fortunetw/pkg-plist6
3 files changed, 25 insertions, 11 deletions
diff --git a/chinese/fortunetw/Makefile b/chinese/fortunetw/Makefile
index 067d21ed8bb7..364a63dcd6f8 100644
--- a/chinese/fortunetw/Makefile
+++ b/chinese/fortunetw/Makefile
@@ -6,12 +6,13 @@
#
PORTNAME= fortunetw
-PORTVERSION= 1.1
+PORTVERSION= 1.2
CATEGORIES= chinese
-MASTER_SITES= ftp://freebsd.sinica.edu.tw/pub/statue/fortunetw/
+MASTER_SITES= http://chinsan2.twbbs.org/distfiles/ \
+ ftp://chinsan2.twbbs.org/distfiles/
DISTNAME= zh-fortunetw-${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= chinsan.tw@gmail.com
COMMENT= A very classic fortune file in Taiwan
NO_BUILD= yes
@@ -20,8 +21,11 @@ STRCMD= /usr/games/strfile
do-install:
@${MKDIR} ${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
pre-install:
@@ -31,16 +35,20 @@ pre-install:
.endif
post-install:
+ @${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} "/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"
+ @${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} ""
.include <bsd.port.mk>
diff --git a/chinese/fortunetw/distinfo b/chinese/fortunetw/distinfo
index 0bd3b7800cfd..f8001d68963f 100644
--- a/chinese/fortunetw/distinfo
+++ b/chinese/fortunetw/distinfo
@@ -1,3 +1,3 @@
-MD5 (zh-fortunetw-1.1.tar.gz) = 7d08025492ce8c94d18b4509573cfc1f
-SHA256 (zh-fortunetw-1.1.tar.gz) = ba220a3278c90d359961381ab1bd46a692c52cb09fedcca1a270a420564a74c4
-SIZE (zh-fortunetw-1.1.tar.gz) = 94950
+MD5 (zh-fortunetw-1.2.tar.gz) = 6b50bad6d9d7207fe56062174d6392ab
+SHA256 (zh-fortunetw-1.2.tar.gz) = 63912dd467e26b4ad542bac8508ccb49e3da04f5fc6e26814a79e156f3d9ab8c
+SIZE (zh-fortunetw-1.2.tar.gz) = 101114
diff --git a/chinese/fortunetw/pkg-plist b/chinese/fortunetw/pkg-plist
index 5d68181b1a44..472fea0f6325 100644
--- a/chinese/fortunetw/pkg-plist
+++ b/chinese/fortunetw/pkg-plist
@@ -1,7 +1,13 @@
+share/games/fortune/folksong
+share/games/fortune/folksong.dat
share/games/fortune/liuyong
share/games/fortune/liuyong.dat
+share/games/fortune/stephehchow
+share/games/fortune/stephehchow.dat
share/games/fortune/tangshi
share/games/fortune/tangshi.dat
+share/games/fortune/xiaoxing
+share/games/fortune/xiaoxing.dat
share/games/fortune/yijing
share/games/fortune/yijing.dat
@dirrm share/games/fortune