aboutsummaryrefslogtreecommitdiff
path: root/www/phpvirtualbox/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/phpvirtualbox/Makefile')
-rw-r--r--www/phpvirtualbox/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/www/phpvirtualbox/Makefile b/www/phpvirtualbox/Makefile
index a0894d3b098f..46e6ab1fd629 100644
--- a/www/phpvirtualbox/Makefile
+++ b/www/phpvirtualbox/Makefile
@@ -1,6 +1,6 @@
PORTNAME= phpvirtualbox
DISTVERSION= 6.1
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= www
PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
@@ -10,6 +10,9 @@ WWW= https://sourceforge.net/projects/phpvirtualbox/
LICENSE= GPLv3
+DEPRECATED= Upstream EOL reaches on 2024-01-31, use www/phpvirtualbox-72 instead
+EXPIRATION_DATE= 2026-12-31
+
USES= dos2unix php:flavors
DOS2UNIX_REGEX= .*\.(php|txt|js|css|html)
USE_GITHUB= yes
@@ -17,6 +20,8 @@ GH_TAGNAME= cf82d58f2
USE_PHP= session simplexml soap xml
ETCDIR= ${WWWDIR}
+EXTRA_PATCHES+= ${.CURDIR}/../phpvirtualbox-72/files/patch-panes_mediumEncryptionPasswords.html \
+ ${.CURDIR}/../phpvirtualbox-legacy/files/patch-php8
NO_ARCH= yes
NO_BUILD= yes
PORTSCOUT= limit:^6\.
@@ -24,6 +29,7 @@ PORTSCOUT= limit:^6\.
post-patch:
@${REINPLACE_CMD} -e 's#/usr/share/phpvirtualbox#${WWWDIR}#g' \
${WRKSRC}/phpvirtualbox.conf
+ @${REINPLACE_CMD} -e 's#\r#\n#g' ${WRKSRC}/languages/zh_tw.xml
do-install:
${MKDIR} ${STAGEDIR}${WWWDIR}