git: d1aa2700688c - main - net/phpldapadmin: Use predefined commands

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 24 Apr 2022 00:43:31 UTC
The branch main has been updated by bofh:

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

commit d1aa2700688caf1b3e9031031cdeab6e7ff5194d
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-04-23 20:25:11 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-04-24 00:35:53 +0000

    net/phpldapadmin: Use predefined commands
    
    - Pet portclippy
    
    Approved by:    portmgr(blanket)
    Fixes:  a9c2430 net/phpldapadmin: Fix runtime with php80
---
 net/phpldapadmin/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/net/phpldapadmin/Makefile b/net/phpldapadmin/Makefile
index b58479861751..2e309003bf6f 100644
--- a/net/phpldapadmin/Makefile
+++ b/net/phpldapadmin/Makefile
@@ -13,14 +13,14 @@ LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 USES=		cpe php:web,flavors tar:tgz
-USE_PHP=	gettext ldap openssl pcre session xml iconv hash
+CPE_VENDOR=	phpldapadmin_project
 USE_GITHUB=	yes
 GH_ACCOUNT=	leenooks
 GH_PROJECT=	phpLDAPadmin
+USE_PHP=	gettext hash iconv ldap openssl pcre session xml
 
 NO_ARCH=	yes
 NO_BUILD=	yes
-CPE_VENDOR=	phpldapadmin_project
 
 OPTIONS_DEFINE=	MCRYPT
 
@@ -45,7 +45,7 @@ SUB_FILES+=	pkg-message
 
 post-patch:
 	cd ${WRKSRC} ;							    \
-	cp lib/Attribute.php lib/PLAAttribute.php;			    \
+	${CP} lib/Attribute.php lib/PLAAttribute.php;			    \
 	${FIND} . ! -type d ! -name ${CFGFILE}.example ! -name .cvsignore   \
 	    ! -name .gitignore ! -name *.orig 				    \
 	    ! -name Attribute.php | ${SORT} |				    \