www/phpvirtualbox: flavorize PHP

Add PHP flavor to be able to use package with all PHP versions.

While here pet portclippy.
This commit is contained in:
Vladimir Druzenko 2025-01-13 20:59:55 +03:00
parent 17614c8f92
commit 9bea795543

View file

@ -1,7 +1,8 @@
PORTNAME= phpvirtualbox PORTNAME= phpvirtualbox
DISTVERSION= 6.1 DISTVERSION= 6.1
PORTREVISION= 4 PORTREVISION= 5
CATEGORIES= www CATEGORIES= www
PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
MAINTAINER= vbox@FreeBSD.org MAINTAINER= vbox@FreeBSD.org
COMMENT= AJAX Web Interface for VirtualBox COMMENT= AJAX Web Interface for VirtualBox
@ -9,17 +10,15 @@ WWW= https://sourceforge.net/projects/phpvirtualbox/
LICENSE= GPLv3 LICENSE= GPLv3
USES= dos2unix php USES= dos2unix php:flavors
USE_PHP= session simplexml soap xml DOS2UNIX_REGEX= .*\.(php|txt|js|css|html)
NO_ARCH= yes
NO_BUILD= yes
USE_GITHUB= yes USE_GITHUB= yes
GH_TAGNAME= cf82d58f2 GH_TAGNAME= cf82d58f2
USE_PHP= session simplexml soap xml
DOS2UNIX_REGEX= .*\.(php|txt|js|css|html)
ETCDIR= ${WWWDIR} ETCDIR= ${WWWDIR}
NO_ARCH= yes
NO_BUILD= yes
post-patch: post-patch:
@${REINPLACE_CMD} -e 's#/usr/share/phpvirtualbox#${WWWDIR}#g' \ @${REINPLACE_CMD} -e 's#/usr/share/phpvirtualbox#${WWWDIR}#g' \