git: d58937484b8f - main - finance/prestashop: Update to 8.1.3

From: Wen Heping <wen_at_FreeBSD.org>
Date: Thu, 01 Feb 2024 05:01:48 UTC
The branch main has been updated by wen:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d58937484b8fa8c43a1b410084d4f8cbba958b97

commit d58937484b8fa8c43a1b410084d4f8cbba958b97
Author:     Wen Heping <wen@FreeBSD.org>
AuthorDate: 2024-02-01 05:00:50 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2024-02-01 05:01:27 +0000

    finance/prestashop: Update to 8.1.3
    
    Update pkg-message
---
 finance/prestashop/Makefile             | 18 +++++++-----------
 finance/prestashop/distinfo             |  6 +++---
 finance/prestashop/files/pkg-message.in |  3 +--
 3 files changed, 11 insertions(+), 16 deletions(-)

diff --git a/finance/prestashop/Makefile b/finance/prestashop/Makefile
index 7907a678243f..fbe66436e5fa 100644
--- a/finance/prestashop/Makefile
+++ b/finance/prestashop/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	prestashop
-PORTVERSION=	1.7.8.8
+PORTVERSION=	8.1.3
 CATEGORIES=	finance www
-MASTER_SITES=	https://download.prestashop.com/download/releases/
+MASTER_SITES=	https://github.com/PrestaShop/PrestaShop/releases/download/8.1.3/
 DISTNAME=	${PORTNAME}_${PORTVERSION}
 
 MAINTAINER=	wen@FreeBSD.org
@@ -12,22 +12,18 @@ USES=		cpe php shebangfix zip:infozip
 NO_BUILD=	yes
 PRESTADIR=	www/${PORTNAME}
 PLIST=		${WRKDIR}/plist
-USE_PHP=	ctype curl dom filter gd intl mcrypt \
-		mysqli pdo_mysql posix session simplexml soap
+USE_PHP=	ctype curl dom fileinfo filter gd intl \
+		mbstring mcrypt mysqli \
+		pdo_mysql posix session simplexml \
+		soap tokenizer zip
+
 WRKSRC=		${WRKDIR}/${PORTNAME}
 SUB_FILES=	pkg-message
 
-SHEBANG_FILES=	vendor/swiftmailer/swiftmailer/lib/swiftmailer_generate_mimes_config.php \
-		vendor/doctrine/orm/docs/bin/generate-docs.sh \
-		vendor/doctrine/orm/docs/bin/install-dependencies.sh \
-		vendor/symfony/symfony/src/Symfony/Component/Intl/Tests/Data/Bundle/Reader/Fixtures/build.sh \
-		vendor/tecnickcom/tcpdf/tools/tcpdf_addfont.php
-
 post-extract:
 	@(cd ${WRKDIR} && ${UNZIP_CMD} -d prestashop ${WRKDIR}/prestashop.zip)
 	${REINPLACE_CMD} -e 's#@prefix@#${PREFIX}#g' \
 		${WRKSRC}/vendor/pear/archive_tar/scripts/phptar.in
-	${RM} ${WRKSRC}/vendor/pear/archive_tar/scripts/*.bak
 
 pre-install:
 	@${ECHO_CMD} -e '@owner ${WWWOWN}\n@group ${WWWGRP}' > ${PLIST}
diff --git a/finance/prestashop/distinfo b/finance/prestashop/distinfo
index 615c2703f15f..e772cfb4e888 100644
--- a/finance/prestashop/distinfo
+++ b/finance/prestashop/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1671627624
-SHA256 (prestashop_1.7.8.8.zip) = 284e19fa2b871b30c923d11fa046f6f429277c44277b0bcee073a718b315bae1
-SIZE (prestashop_1.7.8.8.zip) = 74255389
+TIMESTAMP = 1706759280
+SHA256 (prestashop_8.1.3.zip) = bcba8d807c93db94d92a75558e8cfe135ef6416d44a7bf313a0a0c86605421d3
+SIZE (prestashop_8.1.3.zip) = 82165726
diff --git a/finance/prestashop/files/pkg-message.in b/finance/prestashop/files/pkg-message.in
index 04cd17ea5d60..ca42f40e216c 100644
--- a/finance/prestashop/files/pkg-message.in
+++ b/finance/prestashop/files/pkg-message.in
@@ -8,7 +8,6 @@ PRESTASHOP e-Commerce platform.
 2 Add the following to your Apache configuration file
    httpd.conf, and restart the server:
 
-   For Apache version 2.4.x or above:
    Alias /prestashop /usr/local/www/prestashop/
    AcceptPathInfo On
    <Directory /usr/local/www/prestashop>
@@ -22,7 +21,7 @@ PRESTASHOP e-Commerce platform.
   http://your-server-name/prestashop/
 
 4 More detailed document could be found here:
-  http://www.prestashop.com/wiki/Installing_And_Updating_PrestaShop_Software/
+  https://docs.prestashop-project.org/v.8-documentation/getting-started/installing-prestashop
 EOM
 }
 ]