aboutsummaryrefslogtreecommitdiffstats
path: root/finance
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-09-21 22:08:59 +0800
committerantoine <antoine@FreeBSD.org>2014-09-21 22:08:59 +0800
commit1fc7cda18c57cbb2ce4f4c531be85a590b4b0c53 (patch)
tree07a5418109cb58514033cf2d27e7fb6768888b90 /finance
parent11e9db9eb27e183950a2678f32b4992e742a6848 (diff)
downloadfreebsd-ports-graphics-1fc7cda18c57cbb2ce4f4c531be85a590b4b0c53.tar.gz
freebsd-ports-graphics-1fc7cda18c57cbb2ce4f4c531be85a590b4b0c53.tar.zst
freebsd-ports-graphics-1fc7cda18c57cbb2ce4f4c531be85a590b4b0c53.zip
Allow staging as a regular
Bump portrevision as files were not packaged with intended owner
Diffstat (limited to 'finance')
-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>