1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00

- Update to 1.6.0.6

- Add STAGE support

PR:		190367
Submitted by:	Muhammad Moinur Rahman <5u623l20@gmail.com>
This commit is contained in:
Wen Heping 2014-05-31 05:25:50 +00:00
parent 320704ccfa
commit 3638edbe1f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355937
2 changed files with 8 additions and 12 deletions

View File

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

View File

@ -1,2 +1,2 @@
SHA256 (prestashop_1.5.4.1.zip) = eea6853a0ea9f09ad0c9dc218ffec6ebc5a58756e91ddf6a9c7723041d00a8ec
SIZE (prestashop_1.5.4.1.zip) = 17612987
SHA256 (prestashop_1.6.0.6.zip) = c428cb5a0d7ed6f1c6733f49d987456b1b75a6eeaa1c17974f31b533a1de280d
SIZE (prestashop_1.6.0.6.zip) = 20547271