1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/www/phpvirtualbox/Makefile
Bernhard Froehlich 2985b385b3 - Update to 4.0-6
2011-05-25 11:05:09 +00:00

39 lines
889 B
Makefile

# New ports collection makefile for: phpvirtualbox
# Date created: 2010-07-26
# Whom: Bernhard Froehlich <decke@bluelife.at>
#
# $FreeBSD$
#
PORTNAME= phpvirtualbox
DISTVERSION= 4.0-6
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
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
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>