Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  3 Feb 2006 00:07:40 +0800 (CST)
From:      chinsan <chinsan.tw@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        vanilla@FreeBSD.org
Subject:   ports/92739: [PATCH] chinese/fortunetw: update to 1.2, take maintainership
Message-ID:  <20060202160740.67769F51B2F@chinsan.twbbs.org>
Resent-Message-ID: <200602021610.k12GA6dV090494@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         92739
>Category:       ports
>Synopsis:       [PATCH] chinese/fortunetw: update to 1.2, take maintainership
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 02 16:10:05 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     chinsan
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD chinsan.twbbs.org 5.4-STABLE FreeBSD 5.4-STABLE #0: Mon Jan  9 00:28:33 CST
>Description:
- Update to 1.2
- Take maintainership
- Add some funny fortune


Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- fortunetw-1.2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/chinese/fortunetw/Makefile /usr/home/chinsan/project/fortunetw/Makefile
--- /usr/ports/chinese/fortunetw/Makefile	Mon Jan  9 00:02:43 2006
+++ /usr/home/chinsan/project/fortunetw/Makefile	Fri Feb  3 00:01:04 2006
@@ -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 @@
 
 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,15 +35,19 @@
 .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/folksong"
 	@${ECHO_MSG} "/usr/games/fortune ${PREFIX}/share/games/fortune/liuyong"
-	@${ECHO_MSG} "or"
+	@${ECHO_MSG} "/usr/games/fortune ${PREFIX}/share/games/fortune/stephehchow"
 	@${ECHO_MSG} "/usr/games/fortune ${PREFIX}/share/games/fortune/tangshi"
-	@${ECHO_MSG} "or"
+	@${ECHO_MSG} "/usr/games/fortune ${PREFIX}/share/games/fortune/xiaoxing"
 	@${ECHO_MSG} "/usr/games/fortune ${PREFIX}/share/games/fortune/yijing"
 	@${ECHO_MSG} ""
 
diff -ruN --exclude=CVS /usr/ports/chinese/fortunetw/distinfo /usr/home/chinsan/project/fortunetw/distinfo
--- /usr/ports/chinese/fortunetw/distinfo	Mon Jan  9 00:02:43 2006
+++ /usr/home/chinsan/project/fortunetw/distinfo	Fri Feb  3 00:02:03 2006
@@ -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 -ruN --exclude=CVS /usr/ports/chinese/fortunetw/pkg-plist /usr/home/chinsan/project/fortunetw/pkg-plist
--- /usr/ports/chinese/fortunetw/pkg-plist	Sat Dec 22 11:21:49 2001
+++ /usr/home/chinsan/project/fortunetw/pkg-plist	Thu Feb  2 23:52:10 2006
@@ -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
--- fortunetw-1.2.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060202160740.67769F51B2F>