git: 2b1c9d35db56 - main - databases/vfront: Avoid @exec/@unexec

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 18 Nov 2023 12:30:02 UTC
The branch main has been updated by bofh:

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

commit 2b1c9d35db561c855f508322f7612d7960132397
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-11-18 00:36:27 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-11-18 12:29:51 +0000

    databases/vfront: Avoid @exec/@unexec
    
    - Pet portclippy
    
    Approved by:    portmgr (blanket)
---
 databases/vfront/Makefile | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/databases/vfront/Makefile b/databases/vfront/Makefile
index 29118e15c10f..f27d0da19fc4 100644
--- a/databases/vfront/Makefile
+++ b/databases/vfront/Makefile
@@ -11,15 +11,16 @@ WWW=		http://www.vfront.org/
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/license
 
-NO_BUILD=	yes
+USES=		cpe php
+
 NO_ARCH=	yes
-PLIST=		${WRKDIR}/pkg-plist
+NO_BUILD=	yes
 
-USES=		cpe php
+PLIST=		${WRKDIR}/pkg-plist
 
+OPTIONS_DEFAULT=	MYSQL PGSQL
 OPTIONS_MULTI=	DATABASE
 OPTIONS_MULTI_DATABASE=	MYSQL PGSQL
-OPTIONS_DEFAULT=	MYSQL PGSQL
 
 MYSQL_USES=	mysql
 MYSQL_USE=	PHP=mysqli
@@ -37,8 +38,8 @@ pre-install:
 	    ${FIND} * -type f | ${SED} 's,^,%%WWWDIR%%/,' > ${PLIST} && \
 	    ${FIND} * -type d -empty | ${SORT} -r | \
 			${SED} 's,^,@dir %%WWWDIR%%/,' >> ${PLIST})
-	@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN} %D/%%WWWDIR%%' >> ${PLIST}
-	@${ECHO_CMD} '@exec ${CHMOD} 700 %D/%%WWWDIR%%/conf' >> ${PLIST}
+	@${ECHO_CMD} '@postexec ${CHOWN} -R ${WWWOWN} %D/%%WWWDIR%%' >> ${PLIST}
+	@${ECHO_CMD} '@postexec ${CHMOD} 700 %D/%%WWWDIR%%/conf' >> ${PLIST}
 
 do-install:
 	(cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}${WWWDIR})