diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2010-06-20 12:21:34 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2010-06-20 12:21:34 +0000 |
commit | b7df020ae0c70510d733b4fdddd37b3b2bc3136c (patch) | |
tree | aa1ad13c86fbbac36a779296d615114a4fd293b6 /chinese/wordpress-zh_TW/Makefile | |
parent | - Fix pkg-plist (diff) |
- 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
Notes
Notes:
svn path=/head/; revision=256757
Diffstat (limited to 'chinese/wordpress-zh_TW/Makefile')
-rw-r--r-- | chinese/wordpress-zh_TW/Makefile | 15 |
1 files changed, 6 insertions, 9 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 |