aboutsummaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2010-06-20 20:21:34 +0800
committermiwi <miwi@FreeBSD.org>2010-06-20 20:21:34 +0800
commitdf4a4da16cf8ee7c3c78c9c50c033f448ee55fee (patch)
treea382319d98d85b3061a3963db577dc5388f16e62 /chinese
parent14c712a8d139f59ffc369f99edfa888238b31a24 (diff)
downloadfreebsd-ports-gnome-df4a4da16cf8ee7c3c78c9c50c033f448ee55fee.tar.gz
freebsd-ports-gnome-df4a4da16cf8ee7c3c78c9c50c033f448ee55fee.tar.zst
freebsd-ports-gnome-df4a4da16cf8ee7c3c78c9c50c033f448ee55fee.zip
- 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
Diffstat (limited to 'chinese')
-rw-r--r--chinese/wordpress-zh_TW/Makefile15
-rw-r--r--chinese/wordpress-zh_TW/distinfo6
2 files changed, 9 insertions, 12 deletions
diff --git a/chinese/wordpress-zh_TW/Makefile b/chinese/wordpress-zh_TW/Makefile
index bb2635d8bac6..9af5b02bbc9c 100644
--- a/chinese/wordpress-zh_TW/Makefile
+++ b/chinese/wordpress-zh_TW/Makefile
@@ -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 @@ USE_PHP= mysql pcre xml gd tokenizer
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-everything::
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 --git a/chinese/wordpress-zh_TW/distinfo b/chinese/wordpress-zh_TW/distinfo
index 5aa0eaf9ea78..81d6365850f3 100644
--- a/chinese/wordpress-zh_TW/distinfo
+++ b/chinese/wordpress-zh_TW/distinfo
@@ -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