fe3a50ebda
phpVirtualBox is an open source, AJAX implementation of the VirtualBox user interface written in PHP. As a modern web interface, it allows you to access and control remote VirtualBox instances. <...> ok jasper@ sthen@
41 lines
875 B
Makefile
41 lines
875 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2013/02/03 11:01:09 ajacoutot Exp $
|
|
|
|
COMMENT= web-based VirtualBox front-end
|
|
|
|
V= 4.2-4
|
|
DISTNAME= phpvirtualbox-${V}
|
|
PKGNAME= phpvirtualbox-${V:S/-/./}
|
|
EXTRACT_SUFX= .zip
|
|
|
|
CATEGORIES= www sysutils
|
|
|
|
HOMEPAGE= http://code.google.com/p/phpvirtualbox/
|
|
|
|
# GPLv3
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= http://phpvirtualbox.googlecode.com/files/
|
|
|
|
MODULES= lang/php
|
|
RUN_DEPENDS= lang/php/${MODPHP_VERSION},-soap
|
|
|
|
NO_BUILD= Yes
|
|
NO_REGRESS= Yes
|
|
PKG_ARCH= *
|
|
|
|
PREFIX= /var/www
|
|
INSTDIR= ${PREFIX}/phpvirtualbox
|
|
TINSTDIR= ${TRUEPREFIX}/phpvirtualbox
|
|
SUBST_VARS= INSTDIR TINSTDIR
|
|
|
|
do-install:
|
|
cp -Rp ${WRKSRC} ${INSTDIR}
|
|
${SUBST_CMD} -c ${FILESDIR}/phpvirtualbox.conf \
|
|
${INSTDIR}/phpvirtualbox.conf.dist
|
|
chown -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
|
|
|
|
.include <bsd.port.mk>
|