Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 May 2014 14:23:44 +0000 (UTC)
From:      Wen Heping <wen@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r354852 - head/www/e107
Message-ID:  <201405221423.s4MENiK9081917@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wen
Date: Thu May 22 14:23:43 2014
New Revision: 354852
URL: http://svnweb.freebsd.org/changeset/ports/354852
QAT: https://qat.redports.org/buildarchive/r354852/

Log:
  - Stage support [1]
  - Pet portlint
  
  PR:		190042 [1]
  Submitted by:	Joseph Benden <joe@thrallingpenguin.com> [1]

Modified:
  head/www/e107/Makefile

Modified: head/www/e107/Makefile
==============================================================================
--- head/www/e107/Makefile	Thu May 22 14:21:30 2014	(r354851)
+++ head/www/e107/Makefile	Thu May 22 14:23:43 2014	(r354852)
@@ -8,14 +8,11 @@ MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}
 DISTNAME=	${PORTNAME}_${PORTVERSION}_full
 
 MAINTAINER=	wen@FreeBSD.org
-COMMENT=	A content management system written in PHP
+COMMENT=	Content management system written in PHP
 
 USE_PHP=	mysql xml
 WRKSRC=		${WRKDIR}/e107
 
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
-
 NO_BUILD=	yes
 PLIST=		${WRKDIR}/plist
 SUB_FILES=	pkg-message
@@ -35,16 +32,16 @@ pre-install:
 	@${FIND} -s -d ${WRKSRC} -type d | ${SED} "s#${WRKSRC}#@dirrm ${E107DIR}#g" >> ${PLIST}
 
 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}
 
-	@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' \
+	@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}' \
 		>> ${TMPPLIST}
-	@${ECHO_CMD} '@exec ${CHMOD} -R 755 ${WWWDIR}' \
+	@${ECHO_CMD} '@exec ${CHMOD} -R 755 ${STAGEDIR}${WWWDIR}' \
 		>> ${TMPPLIST}
 
 post-install:
 	@${CAT} ${PKGMESSAGE}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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