diff options
author | Jase Thew <jase@FreeBSD.org> | 2012-06-30 13:14:12 +0000 |
---|---|---|
committer | Jase Thew <jase@FreeBSD.org> | 2012-06-30 13:14:12 +0000 |
commit | a8a37f07f9faa9001f6690d58f4794d1f4685067 (patch) | |
tree | 4bf2237c80ee68e965dd8baa166771340a51cbf0 /chinese | |
parent | 5c64b5a4911718fa81c0be3e3aad5da37630a2dc (diff) | |
download | ports-a8a37f07f9faa9001f6690d58f4794d1f4685067.tar.gz ports-a8a37f07f9faa9001f6690d58f4794d1f4685067.zip |
Notes
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 |