source: build-files/ports-overlay/www/phpvirtualbox/Makefile @ 29e292f

9.2-releasereleng/10.0releng/10.0.1releng/10.0.2releng/10.0.3
Last change on this file since 29e292f was a27573b9, checked in by Kris Moore <kris@…>, 12 months ago

Update www/phpvirtualbox

  • Property mode set to 100644
File size: 900 bytes
Line 
1# Created by: Bernhard Froehlich <decke@bluelife.at>
2# $FreeBSD: www/phpvirtualbox/Makefile 327776 2013-09-20 23:36:50Z bapt $
3
4PORTNAME=       phpvirtualbox
5DISTVERSION=    4.2-8
6CATEGORIES=     www
7MASTER_SITES=   SF/${PORTNAME} \
8                LOCAL/decke
9
10MAINTAINER=     vbox@FreeBSD.org
11COMMENT=        AJAX Web Interface for VirtualBox
12
13LICENSE=        GPLv3
14LICENSE_FILE=   ${WRKSRC}/LICENSE.txt
15
16USE_ZIP=        yes
17USE_PHP=        json session soap simplexml
18NO_BUILD=       yes
19USE_DOS2UNIX=   yes
20DOS2UNIX_REGEX= .*\.(php|txt|js|css|html)
21
22NO_STAGE=       yes
23do-install:
24        @${MKDIR} ${WWWDIR}
25        (cd ${WRKSRC}/ && ${COPYTREE_SHARE} "*" ${WWWDIR} "! -name *.orig")
26
27        @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
28        @${FIND} ${WWWDIR} -type f -exec ${CHMOD} 0444 {} \;
29        @${FIND} ${WWWDIR} -type d -exec ${CHMOD} 0755 {} \;
30
31post-install:
32        @if [ ! -f ${WWWDIR}/config.php ]; then \
33                ${CP} ${WWWDIR}/config.php-example ${WWWDIR}/config.php ; \
34        fi
35
36.include <bsd.port.mk>
Note: See TracBrowser for help on using the repository browser.