freebsd-ports/emulators/vboxtool/Makefile
Gerald Pfeifer 15945f8122 Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.

Part II, Bump PORTREVISIONs.

PR:		192025
Tested by:	antoine (-exp runs)
Approved by:	portmgr (implicit)
2014-09-10 20:50:31 +00:00

40 lines
1 KiB
Makefile

# Created by: pjm
# $FreeBSD$
PORTNAME= vboxtool
PORTVERSION= 0.5
PORTREVISION= 3
CATEGORIES= emulators
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Provides effective control of VirtualBox machines
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING.txt
RUN_DEPENDS= VBoxManage:${PORTSDIR}/emulators/virtualbox-ose\
bash:${PORTSDIR}/shells/bash
NO_WRKSUBDIR= yes
NO_BUILD= yes
USES= zip
GROUPS= vboxusers
SAMPLESDIR= ${PREFIX}/share/${PORTNAME}
post-patch:
@${REINPLACE_CMD} -e 's|!/bin/bash|!/usr/bin/env bash|' \
-e 's|/etc/|${PREFIX}&|g' \
${WRKSRC}/script/vboxtool \
${WRKSRC}/script/vboxtoolinit
do-install:
@${MKDIR} ${STAGEDIR}${ETCDIR}
${INSTALL_DATA} ${FILESDIR}/vboxtool.conf ${STAGEDIR}${ETCDIR}/vboxtool.conf.sample
${INSTALL_DATA} ${FILESDIR}/machines.conf ${STAGEDIR}${ETCDIR}/machines.conf.sample
${INSTALL_SCRIPT} -m 0750 ${WRKSRC}/script/vboxtool ${STAGEDIR}${PREFIX}/bin/vboxtool
${INSTALL_SCRIPT} -m 0750 ${WRKSRC}/script/vboxtoolinit ${STAGEDIR}${PREFIX}/etc/rc.d/vboxtoolinit
.include <bsd.port.mk>