From aca9257c6afd557d4e9e15cf34b4a7ba711c8bb5 Mon Sep 17 00:00:00 2001 From: jase Date: Thu, 28 Jun 2012 17:52:41 +0000 Subject: - Update to 3.4.1 [1] - Convert to optionsNG and add DOCS option PR: ports/169515 [1] Submitted by: Joe Horn (maintainer) Approved by: culot (mentor) --- chinese/wordpress-zh_TW/Makefile | 8 ++++++-- chinese/wordpress-zh_TW/distinfo | 4 ++-- 2 files changed, 8 insertions(+), 4 deletions(-) (limited to 'chinese') diff --git a/chinese/wordpress-zh_TW/Makefile b/chinese/wordpress-zh_TW/Makefile index e42f98f9f265..d0a50ea715d1 100644 --- a/chinese/wordpress-zh_TW/Makefile +++ b/chinese/wordpress-zh_TW/Makefile @@ -6,7 +6,7 @@ # PORTNAME= wordpress -PORTVERSION= 3.4 +PORTVERSION= 3.4.1 CATEGORIES= chinese www MASTER_SITES= http://tw.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 + 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_TW/distinfo b/chinese/wordpress-zh_TW/distinfo index d4fcc8b84e97..e0d52cc0d686 100644 --- a/chinese/wordpress-zh_TW/distinfo +++ b/chinese/wordpress-zh_TW/distinfo @@ -1,2 +1,2 @@ -SHA256 (wordpress-3.4-zh_TW.tar.gz) = 6176b4bdb7494fab4c6f1e2159a13115a057730a4f96da868faa515a66600c6f -SIZE (wordpress-3.4-zh_TW.tar.gz) = 4936545 +SHA256 (wordpress-3.4.1-zh_TW.tar.gz) = 40f456dfd1d7ca313423775adddc4f9c3132e93d3083c0ced7aa99f57f902b82 +SIZE (wordpress-3.4.1-zh_TW.tar.gz) = 4939683 -- cgit