1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00
freebsd-ports/www/phpvirtualbox/Makefile
Vladimir Druzenko 1c0edfc75b www/phpvirtualbox{,-legacy}: PHP 8.2 support
Was fixed:
1. Deprecated: Creation of dynamic property vboxconnector::$client is deprecated
in /usr/local/www/phpvirtualbox/endpoints/lib/vboxconnector.php on line 175.
2. Deprecated: Creation of dynamic property phpVBoxConfigClass::$enableHDFlushConfig
is deprecated in /usr/local/www/phpvirtualbox/endpoints/lib/config.php on line 1825.
3. Deprecated: Creation of dynamic property phpVBoxConfigClass::$authMaster is deprecated
in /usr/local/www/phpvirtualbox/endpoints/lib/config.php on line 241.
4. Division by zero in endpoints/lib/vboxconnector.php.
Upstream issue: https://github.com/usvn/usvn/issues/82

Approved by:		arrowd (mentor)
Differential Revision:	https://reviews.freebsd.org/D43175
MFH:			2023Q4
2023-12-25 19:19:29 +03:00

36 lines
791 B
Makefile

PORTNAME= phpvirtualbox
DISTVERSION= 6.1
PORTREVISION= 3
CATEGORIES= www
MAINTAINER= vbox@FreeBSD.org
COMMENT= AJAX Web Interface for VirtualBox
WWW= https://sourceforge.net/projects/phpvirtualbox/
LICENSE= GPLv3
USES= dos2unix php
USE_PHP= session simplexml soap xml
NO_ARCH= yes
NO_BUILD= yes
USE_GITHUB= yes
GH_TAGNAME= cf82d58f2
DOS2UNIX_REGEX= .*\.(php|txt|js|css|html)
ETCDIR= ${WWWDIR}
post-patch:
@${REINPLACE_CMD} -e 's#/usr/share/phpvirtualbox#${WWWDIR}#g' \
${WRKSRC}/phpvirtualbox.conf
do-install:
${MKDIR} ${STAGEDIR}${WWWDIR}
(cd ${WRKSRC}/ && ${COPYTREE_SHARE} "*" ${STAGEDIR}${WWWDIR} \
"-not -name *.orig -not -name config.php-example")
${INSTALL_DATA} ${WRKSRC}/config.php-example \
${STAGEDIR}${WWWDIR}/config.php.sample
.include <bsd.port.mk>