diff options
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/wordpress-zh_CN/Makefile | 17 | ||||
-rw-r--r-- | chinese/wordpress-zh_CN/distinfo | 6 |
2 files changed, 11 insertions, 12 deletions
diff --git a/chinese/wordpress-zh_CN/Makefile b/chinese/wordpress-zh_CN/Makefile index 052201d50338..ec5b53d77af0 100644 --- a/chinese/wordpress-zh_CN/Makefile +++ b/chinese/wordpress-zh_CN/Makefile @@ -6,26 +6,25 @@ # PORTNAME= wordpress -PORTVERSION= 2.9.2 +PORTVERSION= 3.0.1 CATEGORIES= chinese www MASTER_SITES= http://cn.wordpress.org/ PKGNAMESUFFIX= -zh_CN -DISTNAME= wordpress-${PORTVERSION}-zh_CN +DISTNAME= wordpress-${PORTVERSION}${PKGNAMESUFFIX} MAINTAINER= joehorn@gmail.com COMMENT= A state-of-the-art semantic personal publishing platform +LICENSE= GPLv2 + WRKSRC= ${WRKDIR}/${PORTNAME} USE_PHP= mysql pcre xml gd tokenizer NO_BUILD= YES WANT_PHP_WEB= YES -WORDPRESS= www/wordpress-zh_CN -WWWDIR= ${PREFIX}/${WORDPRESS} - -PLIST_SUB+= WORDPRESS=${WORDPRESS} PLIST= ${WRKDIR}/pkg-plist +WWWDIR= ${PREFIX}/www/${PORTNAME}${PKGNAMESUFFIX} PORTDOCS= license.txt readme.html @@ -39,10 +38,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_CN/distinfo b/chinese/wordpress-zh_CN/distinfo index 340f39eb7673..eb366a2d0d49 100644 --- a/chinese/wordpress-zh_CN/distinfo +++ b/chinese/wordpress-zh_CN/distinfo @@ -1,3 +1,3 @@ -MD5 (wordpress-2.9.2-zh_CN.tar.gz) = 7c2069bcdf92f3a4a287e6699a063b1c -SHA256 (wordpress-2.9.2-zh_CN.tar.gz) = 6a33f9117178faa63d43ed558c4a475ab2cdb10881bde54466565353d965030a -SIZE (wordpress-2.9.2-zh_CN.tar.gz) = 2475651 +MD5 (wordpress-3.0.1-zh_CN.tar.gz) = 9ea89441f92d25b2858b473e8ce4ac67 +SHA256 (wordpress-3.0.1-zh_CN.tar.gz) = 29e420a30792cf4a5896f1a35fc96ee5ee011306bf24a803c19b561e1b3645db +SIZE (wordpress-3.0.1-zh_CN.tar.gz) = 2996399 |