git: a387eff394c1 - main - www/orangehrm: Update to 5.0

From: Wen Heping <wen_at_FreeBSD.org>
Date: Tue, 03 May 2022 01:58:27 UTC
The branch main has been updated by wen:

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

commit a387eff394c105d773a9faa3cb676631e3682050
Author:     Wen Heping <wen@FreeBSD.org>
AuthorDate: 2022-05-03 01:06:15 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2022-05-03 01:06:15 +0000

    www/orangehrm: Update to 5.0
    
    Add missing PHP modules
---
 www/orangehrm/Makefile | 10 +++++-----
 www/orangehrm/distinfo |  6 +++---
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/www/orangehrm/Makefile b/www/orangehrm/Makefile
index 90f80a07bd11..e8873b0204c1 100644
--- a/www/orangehrm/Makefile
+++ b/www/orangehrm/Makefile
@@ -1,7 +1,7 @@
 # Created by: Wen Heping <wenheping@gmail.com>
 
 PORTNAME=	orangehrm
-PORTVERSION=	4.10.1
+PORTVERSION=	5.0
 CATEGORIES=	www misc
 MASTER_SITES=	SF/${PORTNAME}/stable/${PORTVERSION}
 
@@ -9,17 +9,17 @@ MAINTAINER=	wen@FreeBSD.org
 COMMENT=	Open Source Human Resource Management
 
 LICENSE=	GPLv2
-LICENSE_FILE=	${WRKSRC}/license/LICENSE.TXT
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
 USES=		cpe php zip
-USE_PHP=	iconv json pdo_mysql ctype xml session simplexml
+USE_PHP=	ctype curl filter iconv json \
+		mbstring pdo_mysql xml session \
+		simplexml tokenizer zip
 NO_BUILD=	yes
 PLIST=		${WRKDIR}/plist
 SUB_FILES=	pkg-message
 HRMDIR=		www/orangehrm
 
-#WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/${PORTNAME}-${PORTVERSION}
-
 pre-install:
 	@${ECHO_CMD} -e '@owner ${WWWOWN}\n@group ${WWWGRP}' > ${PLIST}
 	@${ECHO_CMD} "@mode 755" >> ${PLIST}
diff --git a/www/orangehrm/distinfo b/www/orangehrm/distinfo
index 097833effa71..d44d2723148f 100644
--- a/www/orangehrm/distinfo
+++ b/www/orangehrm/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1649061062
-SHA256 (orangehrm-4.10.1.zip) = ae9122adb5c353d63968f175c9293cd8379eea5d2954da2f0108be3766b6dce0
-SIZE (orangehrm-4.10.1.zip) = 44753882
+TIMESTAMP = 1651529458
+SHA256 (orangehrm-5.0.zip) = f86ad404d29d0e2d3831969a35dba6256e238506215950032540376695084b81
+SIZE (orangehrm-5.0.zip) = 16905872