diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2014-04-26 18:12:50 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2014-04-26 18:12:50 +0000 |
commit | 2e13353e930a5e49773a86a912edebae87319339 (patch) | |
tree | 64d21f0a1c9bc6be71ed45b431a6a633f0a2d1c9 /chinese/wordpress-zh_TW | |
parent | 68bb3ea5f2e3998699c879b6e45622c73e82ff67 (diff) | |
download | ports-2e13353e930a5e49773a86a912edebae87319339.tar.gz ports-2e13353e930a5e49773a86a912edebae87319339.zip |
Notes
Diffstat (limited to 'chinese/wordpress-zh_TW')
-rw-r--r-- | chinese/wordpress-zh_TW/Makefile | 34 | ||||
-rw-r--r-- | chinese/wordpress-zh_TW/distinfo | 4 |
2 files changed, 15 insertions, 23 deletions
diff --git a/chinese/wordpress-zh_TW/Makefile b/chinese/wordpress-zh_TW/Makefile index cfdad277935f..795e4e0e7676 100644 --- a/chinese/wordpress-zh_TW/Makefile +++ b/chinese/wordpress-zh_TW/Makefile @@ -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 <bsd.port.options.mk> - 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 <bsd.port.mk> diff --git a/chinese/wordpress-zh_TW/distinfo b/chinese/wordpress-zh_TW/distinfo index bc2603a6536d..3a2644692229 100644 --- a/chinese/wordpress-zh_TW/distinfo +++ b/chinese/wordpress-zh_TW/distinfo @@ -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 |