Bug 190030 - [patch] Add staging support to www/diamanda
Summary: [patch] Add staging support to www/diamanda
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: Steve Wills
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-20 19:40 UTC by joe
Modified: 2014-05-25 06:20 UTC (History)
0 users

See Also:


Attachments
file.diff (732 bytes, patch)
2014-05-20 19:40 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 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