1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00
freebsd-ports/www/phpvirtualbox/Makefile
Vladimir Druzenko 3f1b38acfd www/phpvirtualbox{,-legacy}: PHP 8 support (1 more catch) - "preg_replace"
Fixed:
PHP Warning: preg_replace() expects at least 3 parameters, 2 given in endpoints/screen.php on line 91

PR:		261498
Approved by:	tcberner (mentor)
MFH:		2023Q3
2023-09-18 15:39:54 +03:00

36 lines
791 B
Makefile

PORTNAME= phpvirtualbox
DISTVERSION= 6.1
PORTREVISION= 2
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>