svn commit: r352354 - in head/japanese/wordpress: . files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sat Apr 26 18:16:31 UTC 2014
Author: sunpoet
Date: Sat Apr 26 18:16:30 2014
New Revision: 352354
URL: http://svnweb.freebsd.org/changeset/ports/352354
QAT: https://qat.redports.org/buildarchive/r352354/
Log:
- Update to 3.9
- Pass maintainership to submitter
- While I'm here:
- Allow packaging as user
- Remove .include <bsd.port.options.mk>
Changes: http://ja.wordpress.org/2014/04/17/wordpress-3-9-ja/
PR: ports/189017
Submitted by: Joe Horn <joehorn at gmail.com>
Deleted:
head/japanese/wordpress/files/pkg-install.in
Modified:
head/japanese/wordpress/Makefile
head/japanese/wordpress/distinfo
Modified: head/japanese/wordpress/Makefile
==============================================================================
--- head/japanese/wordpress/Makefile Sat Apr 26 18:15:42 2014 (r352353)
+++ head/japanese/wordpress/Makefile Sat Apr 26 18:16:30 2014 (r352354)
@@ -2,12 +2,12 @@
# $FreeBSD$
PORTNAME= wordpress
-PORTVERSION= 3.8.1
+PORTVERSION= 3.9
CATEGORIES= japanese www
MASTER_SITES= http://ja.wordpress.org/
DISTNAME= ${PORTNAME}-${PORTVERSION}-ja
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= joehorn at gmail.com
COMMENT= State-of-the-art semantic personal publishing platform
LICENSE= GPLv2
@@ -19,39 +19,32 @@ 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
OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
pre-everything::
@${ECHO_CMD} "If you want to upgrade, you must read upgrade document."
@${ECHO_CMD} ""
@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
do-install:
- ${INSTALL} -d -g ${WWWGRP} -m 755 -o ${WWWOWN} ${WWWDIR}/
- ${CP} -R ${WRKSRC}/ ${WWWDIR}/
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}/
- cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
-.endif
-
-post-install:
- @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
- @${CAT} ${PKGMESSAGE}
+ ${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>
Modified: head/japanese/wordpress/distinfo
==============================================================================
--- head/japanese/wordpress/distinfo Sat Apr 26 18:15:42 2014 (r352353)
+++ head/japanese/wordpress/distinfo Sat Apr 26 18:16:30 2014 (r352354)
@@ -1,2 +1,2 @@
-SHA256 (wordpress-3.8.1-ja.tar.gz) = 5a5598c7da4de1ee1a8a4aea92b10f0de5f4c738a54d51312f9fec0ec32ebf83
-SIZE (wordpress-3.8.1-ja.tar.gz) = 6315056
+SHA256 (wordpress-3.9-ja.tar.gz) = 173d4399a468e0229e27c46d89b7628c103d6cab5066c44103c7f76f1ed15c30
+SIZE (wordpress-3.9-ja.tar.gz) = 6250676
More information about the svn-ports-all
mailing list