ports/147966: [MAINTAINER] chinese/wordpress-zh_TW: update to 3.0

Joe Horn joehorn at gmail.com
Fri Jun 18 11:30:05 UTC 2010


>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:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 18 11:30:04 UTC 2010
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list