2013-05-05 15:24:13 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.3 2013/05/05 19:24:13 jasper Exp $
|
2013-02-03 06:01:09 -05:00
|
|
|
|
|
|
|
COMMENT= web-based VirtualBox front-end
|
|
|
|
|
|
|
|
V= 4.2-4
|
|
|
|
DISTNAME= phpvirtualbox-${V}
|
|
|
|
PKGNAME= phpvirtualbox-${V:S/-/./}
|
|
|
|
EXTRACT_SUFX= .zip
|
2013-05-05 15:24:13 -04:00
|
|
|
REVISION= 0
|
2013-02-03 06:01:09 -05:00
|
|
|
|
|
|
|
CATEGORIES= www sysutils
|
|
|
|
|
|
|
|
HOMEPAGE= http://code.google.com/p/phpvirtualbox/
|
|
|
|
|
|
|
|
# GPLv3
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= http://phpvirtualbox.googlecode.com/files/
|
|
|
|
|
|
|
|
MODULES= lang/php
|
|
|
|
RUN_DEPENDS= lang/php/${MODPHP_VERSION},-soap
|
|
|
|
|
|
|
|
NO_BUILD= Yes
|
2013-03-11 07:35:43 -04:00
|
|
|
NO_TEST= Yes
|
2013-02-03 06:01:09 -05:00
|
|
|
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>
|