aboutsummaryrefslogtreecommitdiff
path: root/finance/prestashop/Makefile
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2014-05-31 05:25:50 +0000
committerWen Heping <wen@FreeBSD.org>2014-05-31 05:25:50 +0000
commit3638edbe1f12d128311f3a7b56f5c323c2c96db7 (patch)
tree9757a4bafe00bf4b90e76404df9182345b56ac17 /finance/prestashop/Makefile
parent320704ccfabe3a5ab902f75eedc434203994be46 (diff)
downloadports-3638edbe1f12d128311f3a7b56f5c323c2c96db7.tar.gz
ports-3638edbe1f12d128311f3a7b56f5c323c2c96db7.zip
Notes
Diffstat (limited to 'finance/prestashop/Makefile')
-rw-r--r--finance/prestashop/Makefile16
1 files changed, 6 insertions, 10 deletions
diff --git a/finance/prestashop/Makefile b/finance/prestashop/Makefile
index a2a514b09e96..bd76798affa0 100644
--- a/finance/prestashop/Makefile
+++ b/finance/prestashop/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= prestashop
-PORTVERSION= 1.5.4.1
+PORTVERSION= 1.6.0.6
CATEGORIES= finance www
MASTER_SITES= http://www.prestashop.com/download/
DISTNAME= ${PORTNAME}_${PORTVERSION}
@@ -14,12 +14,10 @@ USES= zip
NO_BUILD= yes
PRESTADIR= www/${PORTNAME}
PLIST= ${WRKDIR}/plist
-SUB_FILES= pkg-message
USE_PHP= mysql gd
WRKSRC= ${WRKDIR}/${PORTNAME}
SUB_FILES= pkg-message
-NO_STAGE= yes
.include <bsd.port.pre.mk>
pre-install:
@@ -27,13 +25,11 @@ pre-install:
@${FIND} -s -d ${WRKSRC} -type d | ${SED} "s?${WRKSRC}?@dirrm ${PRESTADIR}?g" >> ${PLIST}
do-install:
- @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${WWWDIR}
- @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
- @${CHMOD} -R 755 ${WWWDIR}
- @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${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} ${STAGEDIR}${WWWDIR}' \
>> ${TMPPLIST}
- @${ECHO_CMD} '@exec ${CHMOD} -R 755 ${WWWDIR}' >>${TMPPLIST}
-
- @${CAT} ${PKGMESSAGE}
+ @${ECHO_CMD} '@exec ${CHMOD} -R 755 ${STAGEDIR}${WWWDIR}' >>${TMPPLIST}
.include <bsd.port.post.mk>