From owner-svn-ports-all@FreeBSD.ORG Sat Apr 26 18:12:51 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EF83E4ED; Sat, 26 Apr 2014 18:12:50 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DCED41554; Sat, 26 Apr 2014 18:12:50 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s3QICogx073778; Sat, 26 Apr 2014 18:12:50 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s3QICoK9073776; Sat, 26 Apr 2014 18:12:50 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201404261812.s3QICoK9073776@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Sat, 26 Apr 2014 18:12:50 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r352315 - head/chinese/wordpress-zh_TW X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Apr 2014 18:12:51 -0000 Author: sunpoet Date: Sat Apr 26 18:12:50 2014 New Revision: 352315 URL: http://svnweb.freebsd.org/changeset/ports/352315 QAT: https://qat.redports.org/buildarchive/r352315/ Log: - Update to 3.9 - Simplify pre-install: - Remove .include - Remove unnecessary SUB_LISTS Changes: http://tw.wordpress.org/2014/04/24/smith/ PR: ports/189018 Submitted by: Joe Horn (maintainer) Modified: head/chinese/wordpress-zh_TW/Makefile head/chinese/wordpress-zh_TW/distinfo Modified: head/chinese/wordpress-zh_TW/Makefile ============================================================================== --- head/chinese/wordpress-zh_TW/Makefile Sat Apr 26 18:12:45 2014 (r352314) +++ head/chinese/wordpress-zh_TW/Makefile Sat Apr 26 18:12:50 2014 (r352315) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= wordpress -PORTVERSION= 3.8.1 +PORTVERSION= 3.9 CATEGORIES= chinese www MASTER_SITES= http://tw.wordpress.org/ \ http://mirror.joehorn.idv.tw/wordpress/ @@ -27,8 +27,7 @@ PORTDOCS= readme.html OPTIONS_DEFINE= DOCS -SUB_FILES+= pkg-message -SUB_LISTS+= WWWDIR=${WWWDIR} +SUB_FILES= pkg-message pre-everything:: @${ECHO_CMD} "If you want to upgrade, you must read upgrade document." @@ -36,27 +35,20 @@ pre-everything:: @sleep 1 pre-install: - cd ${WRKSRC} && ${FIND} -s * -type f | \ - ${SED} -e 's|^|${WWWDIR:S|${PREFIX}/||}/|' > ${PLIST} \ - && ${FIND} -d * -type d | \ - ${SED} -e 's|^|@dirrm ${WWWDIR:S|${PREFIX}/||}/|' >> ${PLIST} \ - && ${ECHO_CMD} @dirrm ${WWWDIR:S|${PREFIX}/||} >> ${PLIST} + ${ECHO_CMD} '@owner www' > ${PLIST} + ${ECHO_CMD} '@group www' >> ${PLIST} + cd ${WRKSRC}/ && ${FIND} -s * -type f | ${SED} -e 's|^|%%WWWDIR%%/|' >> ${PLIST} + cd ${WRKSRC}/ && ${FIND} -d . -type d | ${SED} -e 's|^\.|@dirrm %%WWWDIR%%|' >> ${PLIST} + ${ECHO_CMD} '@owner' >> ${PLIST} + ${ECHO_CMD} '@group' >> ${PLIST} if [ ! -f ${WRKSRC}/wp-config-sample.php ]; then ${CP} \ ${WRKSRC}/wp-config.php.sample ${WRKSRC}/wp-config.php; fi -.include - do-install: - @${MKDIR} ${STAGEDIR}${WWWDIR} - @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR} - @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' \ - >> ${TMPPLIST} - @${CHMOD} -R 755 ${STAGEDIR}${WWWDIR} - @${ECHO_CMD} '@exec ${CHMOD} -R 755 ${WWWDIR}' >> ${TMPPLIST} - ${CP} -R ${WRKSRC}/ ${STAGEDIR}${WWWDIR} - @${MKDIR} ${STAGEDIR}${DOCSDIR} -.for i in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/${i} -.endfor + ${INSTALL} -d -m 755 ${STAGEDIR}${WWWDIR}/ + ${CP} -R ${WRKSRC}/ ${STAGEDIR}${WWWDIR}/ + ${FIND} ${STAGEDIR}${WWWDIR}/ -type d -exec ${CHMOD} g+w '{}' \; + ${MKDIR} ${STAGEDIR}${DOCSDIR}/ + cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ .include Modified: head/chinese/wordpress-zh_TW/distinfo ============================================================================== --- head/chinese/wordpress-zh_TW/distinfo Sat Apr 26 18:12:45 2014 (r352314) +++ head/chinese/wordpress-zh_TW/distinfo Sat Apr 26 18:12:50 2014 (r352315) @@ -1,2 +1,2 @@ -SHA256 (wordpress-3.8.1-zh_TW.tar.gz) = 6e84c653c86e36db9515166fe0955166a2a98647b960bc48c90e66a6ea140289 -SIZE (wordpress-3.8.1-zh_TW.tar.gz) = 6266728 +SHA256 (wordpress-3.9-zh_TW.tar.gz) = f789c5c4840e73c930ad53bf3d34e03c1ab38d4d78c6352b4c9901b5341aa093 +SIZE (wordpress-3.9-zh_TW.tar.gz) = 6198657