Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Apr 2014 18:12:45 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r352314 - in head/russian/wordpress: . files
Message-ID:  <201404261812.s3QICj9j073680@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Apr 26 18:12:45 2014
New Revision: 352314
URL: http://svnweb.freebsd.org/changeset/ports/352314
QAT: https://qat.redports.org/buildarchive/r352314/

Log:
  - Update to 3.9
  - While I'm here, allow packaging as user
  
  Changes:	http://ru.wordpress.org/2014/04/3-9-smith/
  PR:		ports/188687
  Submitted by:	Mihail Timofeev <9267096@gmail.com> (maintainer)

Deleted:
  head/russian/wordpress/files/pkg-install.in
Modified:
  head/russian/wordpress/Makefile
  head/russian/wordpress/distinfo

Modified: head/russian/wordpress/Makefile
==============================================================================
--- head/russian/wordpress/Makefile	Sat Apr 26 18:12:40 2014	(r352313)
+++ head/russian/wordpress/Makefile	Sat Apr 26 18:12:45 2014	(r352314)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	wordpress
-PORTVERSION=	3.8.2
+PORTVERSION=	3.9
 CATEGORIES=	russian www
 MASTER_SITES=	http://ru.wordpress.org/
 DISTNAME=	${PORTNAME}-${PORTVERSION}-ru_RU
@@ -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,19 +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
 
 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/russian/wordpress/distinfo
==============================================================================
--- head/russian/wordpress/distinfo	Sat Apr 26 18:12:40 2014	(r352313)
+++ head/russian/wordpress/distinfo	Sat Apr 26 18:12:45 2014	(r352314)
@@ -1,2 +1,2 @@
-SHA256 (wordpress-3.8.2-ru_RU.tar.gz) = 6d0d68e02da0ac651a0298e35e74f4567af13cc0f38464a450d30eb70741fab7
-SIZE (wordpress-3.8.2-ru_RU.tar.gz) = 6346886
+SHA256 (wordpress-3.9-ru_RU.tar.gz) = eb43ae674b76e9cae75276091881d0fbe118b5d2d2ec7ff2d8770ecb8b598d12
+SIZE (wordpress-3.9-ru_RU.tar.gz) = 6262702



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404261812.s3QICj9j073680>