aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-11-18 00:36:27 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-11-18 12:29:51 +0000
commit2b1c9d35db561c855f508322f7612d7960132397 (patch)
treed141de1d877f1d8f6c9115ddc3fe13c1508795f9
parentedf6ec3a3807ad485736b4400c9e0a9f8d0c4f20 (diff)
downloadports-2b1c9d35db561c855f508322f7612d7960132397.tar.gz
ports-2b1c9d35db561c855f508322f7612d7960132397.zip
databases/vfront: Avoid @exec/@unexec
- Pet portclippy Approved by: portmgr (blanket)
-rw-r--r--databases/vfront/Makefile13
1 files 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})