aboutsummaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authorjase <jase@FreeBSD.org>2012-06-29 01:52:41 +0800
committerjase <jase@FreeBSD.org>2012-06-29 01:52:41 +0800
commitaca9257c6afd557d4e9e15cf34b4a7ba711c8bb5 (patch)
tree842fe7ca535eaa9d617b0ada77b9921fd62610a8 /chinese
parent59db4660951d60ad3a8736d31c7de0b86125544f (diff)
downloadfreebsd-ports-gnome-aca9257c6afd557d4e9e15cf34b4a7ba711c8bb5.tar.gz
freebsd-ports-gnome-aca9257c6afd557d4e9e15cf34b4a7ba711c8bb5.tar.zst
freebsd-ports-gnome-aca9257c6afd557d4e9e15cf34b4a7ba711c8bb5.zip
- 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)
Diffstat (limited to 'chinese')
-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