git: 9bea79554305 - main - www/phpvirtualbox: flavorize PHP
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 13 Jan 2025 18:01:48 UTC
The branch main has been updated by vvd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=9bea795543054bca5a1e425bc15c4c0bd18c4b36
commit 9bea795543054bca5a1e425bc15c4c0bd18c4b36
Author: Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2025-01-13 17:59:55 +0000
Commit: Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-01-13 17:59:55 +0000
www/phpvirtualbox: flavorize PHP
Add PHP flavor to be able to use package with all PHP versions.
While here pet portclippy.
---
www/phpvirtualbox/Makefile | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/www/phpvirtualbox/Makefile b/www/phpvirtualbox/Makefile
index 1b7443882cd5..9f9cd29a7cd3 100644
--- a/www/phpvirtualbox/Makefile
+++ b/www/phpvirtualbox/Makefile
@@ -1,7 +1,8 @@
PORTNAME= phpvirtualbox
DISTVERSION= 6.1
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= www
+PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
MAINTAINER= vbox@FreeBSD.org
COMMENT= AJAX Web Interface for VirtualBox
@@ -9,17 +10,15 @@ WWW= https://sourceforge.net/projects/phpvirtualbox/
LICENSE= GPLv3
-USES= dos2unix php
-USE_PHP= session simplexml soap xml
-
-NO_ARCH= yes
-NO_BUILD= yes
-
+USES= dos2unix php:flavors
+DOS2UNIX_REGEX= .*\.(php|txt|js|css|html)
USE_GITHUB= yes
GH_TAGNAME= cf82d58f2
+USE_PHP= session simplexml soap xml
-DOS2UNIX_REGEX= .*\.(php|txt|js|css|html)
ETCDIR= ${WWWDIR}
+NO_ARCH= yes
+NO_BUILD= yes
post-patch:
@${REINPLACE_CMD} -e 's#/usr/share/phpvirtualbox#${WWWDIR}#g' \