256c0ea000
as discussed with aja@
39 lines
799 B
Makefile
39 lines
799 B
Makefile
# $OpenBSD: Makefile,v 1.3 2013/05/05 19:24:13 jasper Exp $
|
|
|
|
COMMENT= web-based VirtualBox front-end
|
|
|
|
V= 4.2-4
|
|
DISTNAME= phpvirtualbox-${V}
|
|
PKGNAME= phpvirtualbox-${V:S/-/./}
|
|
EXTRACT_SUFX= .zip
|
|
REVISION= 0
|
|
|
|
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
|
|
NO_TEST= 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>
|