Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Sep 2014 14:08:59 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r368758 - head/finance/prestashop
Message-ID:  <201409211408.s8LE8xQ2006544@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sun Sep 21 14:08:59 2014
New Revision: 368758
URL: http://svnweb.freebsd.org/changeset/ports/368758
QAT: https://qat.redports.org/buildarchive/r368758/

Log:
  Allow staging as a regular
  Bump portrevision as files were not packaged with intended owner

Modified:
  head/finance/prestashop/Makefile

Modified: head/finance/prestashop/Makefile
==============================================================================
--- head/finance/prestashop/Makefile	Sun Sep 21 14:03:35 2014	(r368757)
+++ head/finance/prestashop/Makefile	Sun Sep 21 14:08:59 2014	(r368758)
@@ -3,6 +3,7 @@
 
 PORTNAME=	prestashop
 PORTVERSION=	1.6.0.8
+PORTREVISION=	1
 CATEGORIES=	finance www
 MASTER_SITES=	http://www.prestashop.com/download/
 DISTNAME=	${PORTNAME}_${PORTVERSION}
@@ -18,18 +19,14 @@ USE_PHP=	mysql gd
 WRKSRC=		${WRKDIR}/${PORTNAME}
 SUB_FILES=	pkg-message
 
-.include <bsd.port.pre.mk>
-
 pre-install:
-	@${FIND} -s -d ${WRKSRC} -type f | ${SED} "s?${WRKSRC}?${PRESTADIR}?g" >${PLIST}
+	@${ECHO_CMD} -e '@owner ${WWWOWN}\n@group ${WWWGRP}' > ${PLIST}
+	@${FIND} -s -d ${WRKSRC} -type f | ${SED} "s?${WRKSRC}?${PRESTADIR}?g" >> ${PLIST}
 	@${FIND} -s -d ${WRKSRC} -type d  | ${SED} "s?${WRKSRC}?@dirrm ${PRESTADIR}?g" >> ${PLIST}
+	@${ECHO_CMD} -e '@owner root\n@group wheel' >> ${PLIST}
 
 do-install:
 	@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
-	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
 	@${CHMOD} -R 755 ${STAGEDIR}${WWWDIR}
-	@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}' \
-		>> ${TMPPLIST}
-	@${ECHO_CMD} '@exec ${CHMOD} -R 755 ${STAGEDIR}${WWWDIR}' >>${TMPPLIST}
 
-.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?201409211408.s8LE8xQ2006544>