Bug 190010 - [patch] Add staging support to www/b2evolution
Summary: [patch] Add staging support to www/b2evolution
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: Wen Heping
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-20 16:00 UTC by joe
Modified: 2014-05-20 17:00 UTC (History)
0 users

See Also:


Attachments
file.diff (1020 bytes, patch)
2014-05-20 16:00 UTC, joe
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description joe 2014-05-20 16:00:00 UTC
Adds staging support to www/b2evolution.

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer 2014-05-20 16:00:03 UTC
Responsible Changed
From-To: freebsd-ports-bugs->wen

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2014-05-20 16:53:50 UTC
Author: wen
Date: Tue May 20 15:53:45 2014
New Revision: 354651
URL: http://svnweb.freebsd.org/changeset/ports/354651
QAT: https://qat.redports.org/buildarchive/r354651/

Log:
  - Stage support [1]
  - Pet portlint
  - Reset maintainer to ports@
  
  PR:		190010 [1]
  Submitted by:	Joseph Benden <joe@thrallingpenguin.com> [1]

Modified:
  head/www/b2evolution/Makefile
  head/www/b2evolution/pkg-descr

Modified: head/www/b2evolution/Makefile
==============================================================================
--- head/www/b2evolution/Makefile	Tue May 20 15:23:45 2014	(r354650)
+++ head/www/b2evolution/Makefile	Tue May 20 15:53:45 2014	(r354651)
@@ -7,8 +7,8 @@ CATEGORIES=	www
 MASTER_SITES=	SF/evocms/${PORTNAME}/b2evo%20${PORTVERSION}-stable
 DISTNAME=	${PORTNAME}-${PORTVERSION}-${B2EVO_DATE}
 
-MAINTAINER=	wen@FreeBSD.org
-COMMENT=	A multilingual, multiuser, multi-blog engine
+MAINTAINER=	ports@FreeBSD.org
+COMMENT=	Multilingual, multiuser, multi-blog engine
 
 PATCH_DEPENDS=	unzip:${PORTSDIR}/archivers/unzip
 
@@ -29,7 +29,6 @@ WARNING=	${PKGDIR}/pkg-warning
 OPTIONS_DEFINE=	MYSQL
 OPTIONS_DEFAULT=	MYSQL
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MMYSQL}
@@ -47,11 +46,11 @@ pre-install:
 		&& ${ECHO_CMD} @dirrm ${B2EVO_DIR} >> ${PLIST}
 
 do-install:
-	${MKDIR} ${PREFIX}/${B2EVO_DIR}
-	@${CHMOD} 755 ${PREFIX}/${B2EVO_DIR}
-	@${CP} -R ${WRKSRC}/ ${PREFIX}/${B2EVO_DIR}
-	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${B2EVO_DIR}
-	@${CHMOD} 665 ${PREFIX}/${B2EVO_DIR}/blogs/conf/_config.php
+	${MKDIR} ${STAGEDIR}${PREFIX}/${B2EVO_DIR}
+	@${CHMOD} 755 ${STAGEDIR}${PREFIX}/${B2EVO_DIR}
+	@${CP} -R ${WRKSRC}/ ${STAGEDIR}${PREFIX}/${B2EVO_DIR}
+	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${PREFIX}/${B2EVO_DIR}
+	@${CHMOD} 665 ${STAGEDIR}${PREFIX}/${B2EVO_DIR}/blogs/conf/_config.php
 
 post-install:
 	@${SED} -e 's|%%PREFIX%%|${PREFIX}|' \

Modified: head/www/b2evolution/pkg-descr
==============================================================================
--- head/www/b2evolution/pkg-descr	Tue May 20 15:23:45 2014	(r354650)
+++ head/www/b2evolution/pkg-descr	Tue May 20 15:53:45 2014	(r354651)
@@ -2,4 +2,4 @@ b2evolution is probably the most compreh
 It includes almost any feature you could expect from a blog tool, and more !
 Check out the features, not to mention third party plug-ins! 
 
-WWW:	http://b2evolution.net/
+WWW: http://b2evolution.net/
_______________________________________________
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 Wen Heping freebsd_committer 2014-05-20 16:54:51 UTC
State Changed
From-To: open->closed

Committed. Thanks!