freebsd-ports/emulators/vboxtool/Makefile
Michael Scheidell fd7ef396cd Addport: emulators/vtoolbox Provides effective control of virtual machines of VirtualBox
icon-external-link.png (virtualization solution) on a FreeBSD
headless server, published as free and open source software.

WWW: http://vboxtool.sourceforge.net

PR:		ports/169211
Submitted by:	pjm
2012-07-13 09:17:01 +00:00

45 lines
1.3 KiB
Makefile

# New ports collection makefile for: oneko
# Date created: 14 December 2012
# Whom: pjm
#
# $FreeBSD$
#
PORTNAME= vboxtool
PORTVERSION= 0.5
CATEGORIES= emulators
MASTER_SITES= SF
MAINTAINER= pierrejacques.mimifir@gmail.com
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
GROUPS= vboxusers
USE_ZIP= yes
SAMPLESDIR= ${PREFIX}/share/${PORTNAME}
do-install:
@if [ ! -f ${PREFIX}/etc/${PORTNAME} ]; then \
${MKDIR} ${PREFIX}/etc/${PORTNAME};\
fi
${MKDIR} ${EXAMPLESDIR}
@if [ ! -f ${PREFIX}/etc/${PORTNAME}/vboxtool.conf ]; then \
${INSTALL_DATA} ${FILESDIR}/vboxtool.conf ${PREFIX}/etc/${PORTNAME}/vboxtool.conf;\
fi
@if [ ! -f ${PREFIX}/etc/${PORTNAME}/machines.conf ]; then \
${INSTALL_DATA} ${FILESDIR}/machines.conf ${PREFIX}/etc/${PORTNAME}/machines.conf;\
fi
${INSTALL_SCRIPT} -m 0750 ${WRKSRC}/script/vboxtool ${PREFIX}/bin/vboxtool
${INSTALL_SCRIPT} -m 0750 ${WRKSRC}/script/vboxtoolinit ${PREFIX}/etc/rc.d/vboxtoolinit
${INSTALL_DATA} ${FILESDIR}/machines.conf ${EXAMPLESDIR}/machines.conf
${INSTALL_DATA} ${FILESDIR}/vboxtool.conf ${EXAMPLESDIR}/vboxtool.conf
.include <bsd.port.mk>