Bug 190030

Summary: [patch] Add staging support to www/diamanda
Product: Ports & Packages Reporter: joe
Component: Individual Port(s)Assignee: Steve Wills <swills>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description joe 2014-05-20 19:40:01 UTC
Adds staging support to www/diamanda.

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-05-20 19:40:04 UTC
Responsible Changed
From-To: freebsd-ports-bugs->swills

swills@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-05-25 06:16:32 UTC
Author: miwi
Date: Sun May 25 05:16:29 2014
New Revision: 355114
URL: http://svnweb.freebsd.org/changeset/ports/355114
QAT: https://qat.redports.org/buildarchive/r355114/

Log:
  - Stage support
  
  PR:		190030

Modified:
  head/www/diamanda/Makefile

Modified: head/www/diamanda/Makefile
==============================================================================
--- head/www/diamanda/Makefile	Sun May 25 05:15:51 2014	(r355113)
+++ head/www/diamanda/Makefile	Sun May 25 05:16:29 2014	(r355114)
@@ -25,15 +25,14 @@ USE_PYTHON=	yes
 USES=		tar:bzip2 gettext
 SUB_FILES=	pkg-message
 
-NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
 post-patch:
 	@${REINPLACE_CMD} -i '' -e 's|/home/piotr/svn/diamanda|${PREFIX}/${WWWDIR}|g' ${WRKSRC}/settings.py ${WRKSRC}/urls.py
 
 do-install:
-	@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${WWWDIR}
-	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
+	@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
+	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
 	@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' >> ${TMPPLIST}
 
 post-install:
_______________________________________________
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 Martin Wilke freebsd_committer freebsd_triage 2014-05-25 06:17:21 UTC
State Changed
From-To: open->closed

y