aboutsummaryrefslogtreecommitdiff
path: root/www/phpvirtualbox-71/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/phpvirtualbox-71/Makefile')
-rw-r--r--www/phpvirtualbox-71/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/www/phpvirtualbox-71/Makefile b/www/phpvirtualbox-71/Makefile
index fb05e5b28ffb..c0db8c7ac9e7 100644
--- a/www/phpvirtualbox-71/Makefile
+++ b/www/phpvirtualbox-71/Makefile
@@ -1,12 +1,12 @@
PORTNAME= phpvirtualbox
-DISTVERSION= 7.1-1
+DISTVERSION= 7.1-2
CATEGORIES= www
SUFFIX= -71
PKGNAMESUFFIX= ${SUFFIX}${PHP_PKGNAMESUFFIX}
MAINTAINER= vbox@FreeBSD.org
COMMENT= AJAX Web Interface for VirtualBox
-WWW= https://sourceforge.net/projects/phpvirtualbox-7-0/
+WWW= https://github.com/phpvirtualbox/phpvirtualbox/
LICENSE= GPLv3
@@ -16,7 +16,9 @@ USE_PHP= session simplexml soap xml
ETCDIR= ${WWWDIR}
WWWDIR= ${PREFIX}/www/${PORTNAME}${SUFFIX}
-EXTRA_PATCHES+= ${.CURDIR}/../phpvirtualbox/files/patch-panes_mediumEncryptionPasswords.html
+EXTRA_PATCHES+= ${.CURDIR}/../phpvirtualbox-72/files/patch-endpoints_lib_config.php \
+ ${.CURDIR}/../phpvirtualbox-72/files/patch-endpoints_lib_vboxconnector.php \
+ ${.CURDIR}/../phpvirtualbox-72/files/patch-panes_mediumEncryptionPasswords.html
NO_ARCH= yes
NO_BUILD= yes
PORTSCOUT= limit:^7\.1\.
@@ -26,7 +28,8 @@ post-patch:
@${REINPLACE_CMD} -e 's#Alias /phpvirtualbox#Alias /phpvirtualbox${SUFFIX}#' \
-e 's#/usr/share/phpvirtualbox#${WWWDIR}#g' \
${WRKSRC}/phpvirtualbox${SUFFIX}.conf
- @${REINPLACE_CMD} -e 's#\r#\n#g' ${WRKSRC}/languages/zh_tw.xml
+ @${REINPLACE_CMD} -e 's#7.1-1#${DISTVERSION}#' \
+ ${WRKSRC}/endpoints/lib/config.php
do-install:
${MKDIR} ${STAGEDIR}${WWWDIR}