svn commit: r354852 - head/www/e107

Wen Heping wen at FreeBSD.org
Thu May 22 14:23:44 UTC 2014


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 at 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 at 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>


More information about the svn-ports-head mailing list