blob: 7eb3f5af99be6995cc574ea257551afff32e78cb (
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
36
|
# Created by: Bernhard Froehlich <decke@bluelife.at>
# $FreeBSD$
PORTNAME= phpvirtualbox
DISTVERSION= 4.2-4
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \
LOCAL/decke
MAINTAINER= vbox@FreeBSD.org
COMMENT= AJAX Web Interface for VirtualBox
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USE_ZIP= yes
USE_PHP= json session soap simplexml
NO_BUILD= yes
USE_DOS2UNIX= yes
DOS2UNIX_REGEX= .*\.(php|txt|js|css|html)
do-install:
@${MKDIR} ${WWWDIR}
(cd ${WRKSRC}/ && ${COPYTREE_SHARE} "*" ${WWWDIR} "! -name *.orig")
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
@${FIND} ${WWWDIR} -type f -exec ${CHMOD} 0444 {} \;
@${FIND} ${WWWDIR} -type d -exec ${CHMOD} 0755 {} \;
post-install:
@if [ ! -f ${WWWDIR}/config.php ]; then \
${CP} ${WWWDIR}/config.php-example ${WWWDIR}/config.php ; \
fi
.include <bsd.port.mk>
|