summaryrefslogtreecommitdiff
path: root/chinese/wordpress-zh_TW
diff options
context:
space:
mode:
authorJase Thew <jase@FreeBSD.org>2012-06-28 17:52:41 +0000
committerJase Thew <jase@FreeBSD.org>2012-06-28 17:52:41 +0000
commitbed862e7d66e18d360de07d16f457df9be80e478 (patch)
tree196c5354895a9044d12e7e497d50390762d6cd20 /chinese/wordpress-zh_TW
parent- Remove SITE_PERL from *_DEPENDS (diff)
- Update to 3.4.1 [1]
- Convert to optionsNG and add DOCS option PR: ports/169515 [1] Submitted by: Joe Horn <joehorn@gmail.com> (maintainer) Approved by: culot (mentor)
Notes
Notes: svn path=/head/; revision=300172
Diffstat (limited to 'chinese/wordpress-zh_TW')
-rw-r--r--chinese/wordpress-zh_TW/Makefile8
-rw-r--r--chinese/wordpress-zh_TW/distinfo4
2 files changed, 8 insertions, 4 deletions
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 <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_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