Bug 189017 - [PATCH] japanese/wordpress: update to 3.9, take maintainership
Summary: [PATCH] japanese/wordpress: update to 3.9, take maintainership
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-26 14:20 UTC by joehorn
Modified: 2014-04-26 19:35 UTC (History)
0 users

See Also:


Attachments
wordpress-3.9.patch (937 bytes, patch)
2014-04-26 14:20 UTC, joehorn
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description joehorn 2014-04-26 14:20:01 UTC
- Update to 3.9
- Take maintainership

Please close PR# 188694 .

Generated with FreeBSD Port Tools 1.01 (mode: update, diff: SVN)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-04-26 14:20:07 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sunpoet

sunpoet@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-04-26 19:16:35 UTC
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@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@FreeBSD.org
+MAINTAINER=	joehorn@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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Po-Chuan Hsieh freebsd_committer freebsd_triage 2014-04-26 19:35:23 UTC
State Changed
From-To: open->closed

Committed. Thanks!