diff options
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/wordpress-zh_CN/Makefile | 8 | ||||
-rw-r--r-- | chinese/wordpress-zh_CN/distinfo | 4 |
2 files changed, 8 insertions, 4 deletions
diff --git a/chinese/wordpress-zh_CN/Makefile b/chinese/wordpress-zh_CN/Makefile index af846dffd392..ed0f8b654a34 100644 --- a/chinese/wordpress-zh_CN/Makefile +++ b/chinese/wordpress-zh_CN/Makefile @@ -6,7 +6,7 @@ # PORTNAME= wordpress -PORTVERSION= 3.4 +PORTVERSION= 3.4.1 CATEGORIES= chinese www MASTER_SITES= http://cn.wordpress.org/ \ http://mirror.joehorn.idv.tw/wordpress/ @@ -29,6 +29,8 @@ WWWDIR= ${PREFIX}/www/${PORTNAME}${PKGNAMESUFFIX} PORTDOCS= license.txt readme.html +OPTIONS_DEFINE= DOCS + SUB_FILES+= pkg-message SUB_LISTS+= WWWDIR=${WWWDIR} @@ -46,6 +48,8 @@ pre-install: if [ ! -f ${WRKSRC}/wp-config-sample.php ]; then ${CP} \ ${WRKSRC}/wp-config.php.sample ${WRKSRC}/wp-config.php; fi +.include <bsd.port.options.mk> + do-install: @${MKDIR} ${WWWDIR} @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR} @@ -54,7 +58,7 @@ do-install: @${CHMOD} -R 755 ${WWWDIR} @${ECHO_CMD} '@exec ${CHMOD} -R 755 ${WWWDIR}' >> ${TMPPLIST} ${CP} -R ${WRKSRC}/ ${WWWDIR} -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} .for i in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/${i} diff --git a/chinese/wordpress-zh_CN/distinfo b/chinese/wordpress-zh_CN/distinfo index 5650282f7bc3..dd715c888fdd 100644 --- a/chinese/wordpress-zh_CN/distinfo +++ b/chinese/wordpress-zh_CN/distinfo @@ -1,2 +1,2 @@ -SHA256 (wordpress-3.4-zh_CN.tar.gz) = d77cbaab0384759c209c177bf0e0fdc20438686f6731a519ee068c71240fb6c5 -SIZE (wordpress-3.4-zh_CN.tar.gz) = 4942598 +SHA256 (wordpress-3.4.1-zh_CN.tar.gz) = 243ee6297b63d6e3529de87db151c7c1903c7b5951422faeb28f561257c03b4b +SIZE (wordpress-3.4.1-zh_CN.tar.gz) = 4938612 |