aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--finance/prestashop/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/finance/prestashop/Makefile b/finance/prestashop/Makefile
index c0d2dcdff87..3d4750f13eb 100644
--- a/finance/prestashop/Makefile
+++ b/finance/prestashop/Makefile
@@ -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>