svn commit: r352313 - in head/www/wordpress: . files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sat Apr 26 18:12:42 UTC 2014
Author: sunpoet
Date: Sat Apr 26 18:12:40 2014
New Revision: 352313
URL: http://svnweb.freebsd.org/changeset/ports/352313
QAT: https://qat.redports.org/buildarchive/r352313/
Log:
- Update to 3.9
- While I'm here:
- Allow packaging as user
- Remove .include <bsd.port.options.mk>
Changes: http://wordpress.org/news/2014/04/smith/
PR: ports/188767
Submitted by: Yuan-Chung Hsiao <ychsiao at ychsiao.org> (maintainer)
Deleted:
head/www/wordpress/files/pkg-install.in
Modified:
head/www/wordpress/Makefile
head/www/wordpress/distinfo
Modified: head/www/wordpress/Makefile
==============================================================================
--- head/www/wordpress/Makefile Sat Apr 26 18:12:34 2014 (r352312)
+++ head/www/wordpress/Makefile Sat Apr 26 18:12:40 2014 (r352313)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= wordpress
-PORTVERSION= 3.8.1
+PORTVERSION= 3.9
PORTEPOCH= 1
CATEGORIES= www
MASTER_SITES= http://wordpress.org/
@@ -19,9 +19,7 @@ USE_PHP= curl gd mysql pcre tokenizer xm
WANT_PHP_WEB= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
-SUB_FILES= pkg-message pkg-install
-SUB_LIST= CHGRP="${CHGRP}" CHOWN="${CHOWN}" CHMOD="${CHMOD}"\
- FIND="${FIND}" WWWGRP="${WWWGRP}" WWWOWN="${WWWOWN}"
+SUB_FILES= pkg-message
PLIST= ${WRKDIR}/pkg-plist
PORTDOCS= license.txt readme.html
@@ -33,21 +31,20 @@ pre-everything::
@sleep 1
pre-install:
- cd ${WRKSRC}/ && \
- (${FIND} -s * -type f | ${SED} -e 's|^|%%WWWDIR%%/|'; \
- ${FIND} -d . -type d | ${SED} -e 's|^\.|@dirrm %%WWWDIR%%|') > ${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:
- ${INSTALL} -d -g ${WWWGRP} -m 755 -o ${WWWOWN} ${STAGEDIR}${WWWDIR}/
+ ${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}/
-post-install:
- @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
-
.include <bsd.port.mk>
Modified: head/www/wordpress/distinfo
==============================================================================
--- head/www/wordpress/distinfo Sat Apr 26 18:12:34 2014 (r352312)
+++ head/www/wordpress/distinfo Sat Apr 26 18:12:40 2014 (r352313)
@@ -1,2 +1,2 @@
-SHA256 (wordpress-3.8.1.tar.gz) = 2c5c56dc77cc891eca3782a04e2706dcd460a7ebd96de03221bdc414b7eb3992
-SIZE (wordpress-3.8.1.tar.gz) = 5869727
+SHA256 (wordpress-3.9.tar.gz) = 348ed822ffbb1025cb8d74224b36213bd5a83c702db9d0bff213c74dcc5fe0ba
+SIZE (wordpress-3.9.tar.gz) = 5810471
More information about the svn-ports-head
mailing list