ports/169527: [MAINTAINER] chinese/wordpress-zh_CN: update to 3.4.1
Joe Horn
joehorn at gmail.com
Thu Jun 28 18:10:08 UTC 2012
>Number: 169527
>Category: ports
>Synopsis: [MAINTAINER] chinese/wordpress-zh_CN: update to 3.4.1
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Thu Jun 28 18:10:08 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Joe Horn
>Release: FreeBSD 9.0-RELEASE amd64
>Organization:
Taiwanese User
>Environment:
System: FreeBSD joehorn.idv.tw 9.0-RELEASE FreeBSD 9.0-RELEASE #3: Mon Jan 9 22:14:09 CST
>Description:
- Update to 3.4.1
- Convert to optionsNG and add DOCS option
Generated with FreeBSD Port Tools 0.99_6 (mode: update, diff: ports)
>How-To-Repeat:
>Fix:
--- wordpress-zh_CN-3.4.1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/chinese/wordpress-zh_CN/Makefile ./Makefile
--- /usr/ports/chinese/wordpress-zh_CN/Makefile 2012-06-17 03:56:56.000000000 +0800
+++ ./Makefile 2012-06-29 02:02:41.000000000 +0800
@@ -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 @@
PORTDOCS= license.txt readme.html
+OPTIONS_DEFINE= DOCS
+
SUB_FILES+= pkg-message
SUB_LISTS+= WWWDIR=${WWWDIR}
@@ -46,6 +48,8 @@
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 @@
@${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 -ruN --exclude=CVS /usr/ports/chinese/wordpress-zh_CN/distinfo ./distinfo
--- /usr/ports/chinese/wordpress-zh_CN/distinfo 2012-06-17 03:56:56.000000000 +0800
+++ ./distinfo 2012-06-29 02:02:53.000000000 +0800
@@ -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
--- wordpress-zh_CN-3.4.1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list