blob: 9dcef42b8562de39ce08be970f3d9ed8eef93794 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Created by: Bernhard Froehlich <decke@bluelife.at>
# $FreeBSD$
PORTNAME= phpvirtualbox
DISTVERSION= 5.2-1
PORTREVISION= 1
CATEGORIES= www
MAINTAINER= vbox@FreeBSD.org
COMMENT= AJAX Web Interface for VirtualBox
LICENSE= GPLv3
USES= dos2unix php
USE_PHP= json session simplexml soap xml
NO_ARCH= yes
NO_BUILD= yes
USE_GITHUB= yes
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>
|