Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jun 2014 13:01:47 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r356775 - head/www/crp
Message-ID:  <201406061301.s56D1lDT025433@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Fri Jun  6 13:01:47 2014
New Revision: 356775
URL: http://svnweb.freebsd.org/changeset/ports/356775
QAT: https://qat.redports.org/buildarchive/r356775/

Log:
  - Stage support
  
  PR:		190025

Modified:
  head/www/crp/Makefile
  head/www/crp/pkg-plist

Modified: head/www/crp/Makefile
==============================================================================
--- head/www/crp/Makefile	Fri Jun  6 13:01:17 2014	(r356774)
+++ head/www/crp/Makefile	Fri Jun  6 13:01:47 2014	(r356775)
@@ -19,17 +19,15 @@ SPOOLDIR?=	/var/spool/conference
 
 PKGMESSAGE=	${WRKDIR}/pkg-message
 
-NO_STAGE=	yes
 post-patch:
 	@${SED} -e 's|%%WWWDIR%%|${WWWDIR}|g; s|%%DISTNAME%%|${DISTNAME}|g' \
 		${MASTERDIR}/pkg-message > ${PKGMESSAGE}
 
 do-install:
-	@${MKDIR} -m 755 ${WWWDIR} ${SPOOLDIR}
-	@${CP} -R ${WRKSRC}/ ${WWWDIR}/
+	@${MKDIR} -m 755 ${STAGEDIR}${WWWDIR} ${STAGEDIR}${SPOOLDIR}
+	@${CP} -R ${WRKSRC}/ ${STAGEDIR}${WWWDIR}/
 	@${SED} -e 's#/var/www/html#${WWWDIR}#' \
-	  ${WRKSRC}/Code/confHeader.inc > ${WWWDIR}/Code/confHeader.inc
-	@${CHOWN} -R ${WWWOWN}:${WWWGROUP} ${WWWDIR} ${SPOOLDIR}
-	@${CAT} ${PKGMESSAGE}
+	  ${WRKSRC}/Code/confHeader.inc > ${STAGEDIR}${WWWDIR}/Code/confHeader.inc
+	@${CHOWN} -R ${WWWOWN}:${WWWGROUP} ${STAGEDIR}${WWWDIR} ${STAGEDIR}${SPOOLDIR}
 
 .include <bsd.port.mk>

Modified: head/www/crp/pkg-plist
==============================================================================
--- head/www/crp/pkg-plist	Fri Jun  6 13:01:17 2014	(r356774)
+++ head/www/crp/pkg-plist	Fri Jun  6 13:01:47 2014	(r356775)
@@ -237,3 +237,4 @@
 @dirrm %%WWWDIR%%/Assistant
 @dirrm %%WWWDIR%%/All
 @dirrm %%WWWDIR%%
+@dirrmtry /var/spool/conference



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406061301.s56D1lDT025433>