From root@Leo.mi.chu.edu.tw  Fri Jun 18 11:25:37 2010
Return-Path: <root@Leo.mi.chu.edu.tw>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 04E81106566C
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 18 Jun 2010 11:25:37 +0000 (UTC)
	(envelope-from root@Leo.mi.chu.edu.tw)
Received: from Leo.mi.chu.edu.tw (Leo.mi.chu.edu.tw [140.126.143.63])
	by mx1.freebsd.org (Postfix) with ESMTP id 481308FC0C
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 18 Jun 2010 11:25:35 +0000 (UTC)
Received: from Leo.mi.chu.edu.tw (localhost [127.0.0.1])
	by Leo.mi.chu.edu.tw (Postfix) with ESMTP id 5949E4DFC24
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 18 Jun 2010 19:25:34 +0800 (CST)
Received: from Leo.mi.chu.edu.tw ([127.0.0.1])
	by Leo.mi.chu.edu.tw (Leo.mi.chu.edu.tw [127.0.0.1]) (amavisd-new, port 10024)
	with LMTP id 0QFJwn3AzC1v for <FreeBSD-gnats-submit@freebsd.org>;
	Fri, 18 Jun 2010 19:25:34 +0800 (CST)
Received: by Leo.mi.chu.edu.tw (Postfix, from userid 0)
	id E2DC24DFC1F; Fri, 18 Jun 2010 19:25:33 +0800 (CST)
Message-Id: <20100618112533.E2DC24DFC1F@Leo.mi.chu.edu.tw>
Date: Fri, 18 Jun 2010 19:25:33 +0800 (CST)
From: Joe Horn <joehorn@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [MAINTAINER] chinese/wordpress-zh_TW: update to 3.0
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         147966
>Category:       ports
>Synopsis:       [MAINTAINER] chinese/wordpress-zh_TW: update to 3.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 18 11:30:04 UTC 2010
>Closed-Date:    Sun Jun 20 12:22:11 UTC 2010
>Last-Modified:  Sun Jun 20 12:30:02 UTC 2010
>Originator:     Joe Horn
>Release:        FreeBSD 8.0-RELEASE-p2 amd64
>Organization:
Taiwanese User
>Environment:
System: FreeBSD joehorn.idv.tw 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #1: Fri Jan  8 23:08:25 CST
>Description:
- Update to 3.0

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

--- wordpress-zh_TW-3.0.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/chinese/wordpress-zh_TW/Makefile /home/admin/joehorn/wordpress-zh_TW/Makefile
--- /usr/ports/chinese/wordpress-zh_TW/Makefile	2010-04-09 16:11:48.000000000 +0800
+++ /home/admin/joehorn/wordpress-zh_TW/Makefile	2010-06-18 19:23:42.000000000 +0800
@@ -6,9 +6,9 @@
 #
 
 PORTNAME=	wordpress
-PORTVERSION=	2.9.2
+PORTVERSION=	3.0
 CATEGORIES=	chinese www
-MASTER_SITES=	http://cn.wordpress.org/
+MASTER_SITES=	http://tw.wordpress.org/
 PKGNAMESUFFIX=	-zh_TW
 DISTNAME=	wordpress-${PORTVERSION}-zh_TW
 
@@ -21,11 +21,8 @@
 NO_BUILD=	YES
 WANT_PHP_WEB=	YES
 
-WORDPRESS=	www/wordpress-zh_TW
-WWWDIR=		${PREFIX}/${WORDPRESS}
-
-PLIST_SUB+=	WORDPRESS=${WORDPRESS}
 PLIST=		${WRKDIR}/pkg-plist
+WWWDIR=		${PREFIX}/www/${PORTNAME}${PKGNAMESUFFIX}
 
 PORTDOCS=	license.txt readme.html
 
@@ -39,10 +36,10 @@
 
 pre-install:
 	cd ${WRKSRC} && ${FIND} -s * -type f | \
-		${SED} -e 's|^|${WORDPRESS}/|' > ${PLIST} \
+		${SED} -e 's|^|${WWWDIR:S|${PREFIX}/||}/|' > ${PLIST} \
 		&& ${FIND} -d * -type d | \
-		${SED} -e 's|^|@dirrm ${WORDPRESS}/|' >> ${PLIST} \
-		&& ${ECHO_CMD} @dirrm ${WORDPRESS} >> ${PLIST}
+		${SED} -e 's|^|@dirrm ${WWWDIR:S|${PREFIX}/||}/|' >> ${PLIST} \
+		&& ${ECHO_CMD} @dirrm ${WWWDIR:S|${PREFIX}/||} >> ${PLIST}
 	if [ ! -f ${WRKSRC}/wp-config-sample.php ]; then ${CP} \
 		${WRKSRC}/wp-config.php.sample ${WRKSRC}/wp-config.php; fi
 
diff -ruN --exclude=CVS /usr/ports/chinese/wordpress-zh_TW/distinfo /home/admin/joehorn/wordpress-zh_TW/distinfo
--- /usr/ports/chinese/wordpress-zh_TW/distinfo	2010-04-09 16:11:48.000000000 +0800
+++ /home/admin/joehorn/wordpress-zh_TW/distinfo	2010-06-18 19:08:33.000000000 +0800
@@ -1,3 +1,3 @@
-MD5 (wordpress-2.9.2-zh_TW.tar.gz) = 4fc1a68a9833de2571f75fab9f57bf7c
-SHA256 (wordpress-2.9.2-zh_TW.tar.gz) = 628226950efd07417faa282c4b5a54813cd253de25d60a52be393d749be44821
-SIZE (wordpress-2.9.2-zh_TW.tar.gz) = 2445008
+MD5 (wordpress-3.0-zh_TW.tar.gz) = 2c2c5782398eac7e9d08d4974636b274
+SHA256 (wordpress-3.0-zh_TW.tar.gz) = 0dea0a6b7dfc7588326be94ac0b0218708ea318fb140950db39730047869af54
+SIZE (wordpress-3.0-zh_TW.tar.gz) = 2959429
--- wordpress-zh_TW-3.0.patch ends here ---

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Sun Jun 20 12:22:10 UTC 2010 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=147966 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/147966: commit references a PR
Date: Sun, 20 Jun 2010 12:21:43 +0000 (UTC)

 miwi        2010-06-20 12:21:34 UTC
 
   FreeBSD ports repository
 
   Modified files:
     german/wordpress     Makefile distinfo 
     www/wordpress        Makefile distinfo 
     chinese/wordpress-zh_TW Makefile distinfo 
   Log:
   - Update to WP 3.0
   
   PR:             147966 [1]
                   147945 [2]
   Submitted by:   Joe Horn <joehorn@gmail.com> [1]
                   Yuan-Chung Hsiao <ychsiao@ychsiao.org> [2]
   Feature safe:   yes
   
   Revision  Changes    Path
   1.2       +6 -9      ports/chinese/wordpress-zh_TW/Makefile
   1.2       +3 -3      ports/chinese/wordpress-zh_TW/distinfo
   1.37      +2 -2      ports/german/wordpress/Makefile
   1.32      +3 -3      ports/german/wordpress/distinfo
   1.58      +1 -1      ports/www/wordpress/Makefile
   1.50      +3 -3      ports/www/wordpress/distinfo
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
