Bug 190084 - [patch] Add staging support to www/freeway
Summary: [patch] Add staging support to www/freeway
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-21 20:30 UTC by joe
Modified: 2014-05-22 15:20 UTC (History)
0 users

See Also:


Attachments
file.diff (651 bytes, patch)
2014-05-21 20:30 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-21 20:30:00 UTC
Adds staging support to www/freeway.

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

wenheping@gmail.com => wen@ (via the GNATS Auto Assign Tool)
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2014-05-21 20:30:04 UTC
Maintainer of www/freeway,

Please note that PR ports/190084 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/190084

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2014-05-21 20:30:05 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 4 dfilter service freebsd_committer freebsd_triage 2014-05-22 15:13:43 UTC
Author: wen
Date: Thu May 22 14:13:39 2014
New Revision: 354845
URL: http://svnweb.freebsd.org/changeset/ports/354845
QAT: https://qat.redports.org/buildarchive/r354845/

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

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

Modified: head/www/freeway/Makefile
==============================================================================
--- head/www/freeway/Makefile	Thu May 22 14:12:25 2014	(r354844)
+++ head/www/freeway/Makefile	Thu May 22 14:13:39 2014	(r354845)
@@ -7,8 +7,8 @@ CATEGORIES=	www
 MASTER_SITES=	SF/${PORTNAME}-ecom/Freeway/${PORTVERSION}%20Sathish
 DISTNAME=	${PORTNAME}_${PORTVERSION:S,.,_,g}
 
-MAINTAINER=	wenheping@gmail.com
-COMMENT=	A Advanced Open Source eCommerce Platform
+MAINTAINER=	ports@FreeBSD.org
+COMMENT=	Advanced Open Source eCommerce Platform
 
 USE_PHP=	mysql
 WRKSRC=		${WRKDIR}/${PORTNAME}
@@ -16,18 +16,16 @@ WRKSRC=		${WRKDIR}/${PORTNAME}
 NO_BUILD=	yes
 SUB_FILES=	pkg-message
 
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
 do-install:
-	@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${WWWDIR}
-	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
-	@${CHMOD} -R 755 ${WWWDIR}
+	@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
+	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
+	@${CHMOD} -R 755 ${STAGEDIR}${WWWDIR}
 
 post-install:
-	@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' \
-		>> ${TMPPLIST}
-	@${ECHO_CMD} '@exec ${CHMOD} 755 -R ${WWWDIR}' \
+	@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}' \
+		 > ${TMPPLIST}
+	@${ECHO_CMD} '@exec ${CHMOD} -R 755 ${STAGEDIR}${WWWDIR}' \
 		>> ${TMPPLIST}
 	@${CAT} ${PKGMESSAGE}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/www/freeway/pkg-descr
==============================================================================
--- head/www/freeway/pkg-descr	Thu May 22 14:12:25 2014	(r354844)
+++ head/www/freeway/pkg-descr	Thu May 22 14:13:39 2014	(r354845)
@@ -8,4 +8,4 @@ other selling methods.
 You will find Freeway has very strong CRM features as
 well as a useful and simple CMS as well. 
 
-WWW:	http://www.openfreeway.org/
+WWW: http://www.openfreeway.org/
_______________________________________________
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 5 Wen Heping freebsd_committer freebsd_triage 2014-05-22 15:13:52 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!