2013-09-21 01:36:50 +02:00
|
|
|
# Created by: Bernhard Froehlich <decke@bluelife.at>
|
2010-07-27 10:23:28 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= phpvirtualbox
|
2017-07-27 17:21:31 +02:00
|
|
|
DISTVERSION= 5.1-1
|
2017-09-06 13:28:28 +02:00
|
|
|
PORTREVISION= 1
|
2010-07-27 10:23:28 +02:00
|
|
|
CATEGORIES= www
|
|
|
|
|
|
|
|
MAINTAINER= vbox@FreeBSD.org
|
|
|
|
COMMENT= AJAX Web Interface for VirtualBox
|
|
|
|
|
2011-05-22 16:11:13 +02:00
|
|
|
LICENSE= GPLv3
|
2010-07-27 10:23:28 +02:00
|
|
|
|
2016-07-25 20:03:59 +02:00
|
|
|
NO_ARCH= yes
|
2010-07-27 10:23:28 +02:00
|
|
|
NO_BUILD= yes
|
2017-07-27 17:21:31 +02:00
|
|
|
USES= dos2unix php
|
2016-07-25 20:03:59 +02:00
|
|
|
USE_PHP= json session simplexml soap xml
|
2017-07-27 17:21:31 +02:00
|
|
|
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_TAGNAME= 65ebced
|
2015-02-18 00:48:34 +01:00
|
|
|
|
2010-07-27 10:23:28 +02:00
|
|
|
DOS2UNIX_REGEX= .*\.(php|txt|js|css|html)
|
2015-02-18 00:48:34 +01:00
|
|
|
ETCDIR= ${WWWDIR}
|
2010-07-27 10:23:28 +02:00
|
|
|
|
2017-07-27 17:21:31 +02:00
|
|
|
post-patch:
|
|
|
|
@${MV} ${WRKSRC}/endpoints/lib/vboxweb-5.0.wsdl ${WRKSRC}/endpoints/lib/vboxweb-5.1.wsdl
|
|
|
|
@${MV} ${WRKSRC}/endpoints/lib/vboxwebService-5.0.wsdl ${WRKSRC}/endpoints/lib/vboxwebService-5.1.wsdl
|
|
|
|
|
2010-07-27 10:23:28 +02:00
|
|
|
do-install:
|
2015-02-18 00:48:34 +01:00
|
|
|
${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
|
2010-07-27 10:23:28 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|