VBoxGtk is a simple GTK frontend for VirtualBox. Its objective is to

support only the basic features of VirtualBox and keep the interface
simple and clean.

WWW: http://vboxgtk.sourceforge.net/

Approved by:	glarkin (mentor)
This commit is contained in:
Alexander Logvinov 2009-06-22 21:21:42 +00:00
parent fe72944e5a
commit 50b449a5aa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=236489
5 changed files with 74 additions and 0 deletions

View file

@ -253,6 +253,7 @@
SUBDIR += tpb
SUBDIR += treeline
SUBDIR += tuxcards
SUBDIR += vboxgtk
SUBDIR += vym
SUBDIR += when
SUBDIR += wmpinboard

View file

@ -0,0 +1,48 @@
# New ports collection makefile for: vboxgtk
# Date created: 13 June 2009
# Whom: Alexander Logvinov <avl@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= vboxgtk
PORTVERSION= 0.4.1
CATEGORIES= deskutils emulators gnome
MASTER_SITES= http://www.xente.mundo-r.com/narf/vboxgtk/releases/ \
LOCAL/avl
MAINTAINER= avl@FreeBSD.org
COMMENT= GTK frontend for VirtualBox
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-2.0/gobject/_gobject.so:${PORTSDIR}/devel/py-gobject \
VBoxManage:${PORTSDIR}/emulators/virtualbox
USE_BZIP2= yes
NO_BUILD= yes
USE_PYTHON_RUN= yes
USE_GNOME= pygtk2
VBOXGTKDIR= ${PREFIX}/libexec/${PORTNAME}
DESKTOP_ENTRIES="Sun VirtualBox" \
"Run several virtual systems on a single host computer" \
"${PORTNAME}.png" \
"${PORTNAME}" \
"Application;System;Emulator;" \
true
PLIST_SUB= VBOXGTKDIR="${VBOXGTKDIR:S,^${PREFIX}/,,}"
post-patch:
@${REINPLACE_CMD} -e 's|\([^#]self.base_path = \).*|\1\"${VBOXGTKDIR}/\"|' \
-e 's|/usr/bin|${PREFIX}/bin|' ${WRKSRC}/${PORTNAME}
@${REINPLACE_CMD} -e 's|createvdi|createhd|' -e 's|(hd_size|(int(hd_size)|' \
${WRKSRC}/vboxdao_vboxmanage.py
do-install:
${MKDIR} ${VBOXGTKDIR}/pixmaps
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${VBOXGTKDIR}
${INSTALL_DATA} ${WRKSRC}/*.py ${VBOXGTKDIR}
${INSTALL_DATA} ${WRKSRC}/*.glade ${VBOXGTKDIR}
${INSTALL_DATA} ${WRKSRC}/pixmaps/*.png ${VBOXGTKDIR}/pixmaps
${LN} -sf ${VBOXGTKDIR}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
${LN} -sf ${VBOXGTKDIR}/pixmaps/48x48.png ${PREFIX}/share/pixmaps/${PORTNAME}.png
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
MD5 (vboxgtk-0.4.1.tar.bz2) = 9afcb0d09bd86b02a6a422bdb8598b49
SHA256 (vboxgtk-0.4.1.tar.bz2) = 96b721ddafe2a788d9f31ba0a4299fdacc0a2ac56c956877479f9edb000e1ec9
SIZE (vboxgtk-0.4.1.tar.bz2) = 33318

View file

@ -0,0 +1,5 @@
VBoxGtk is a simple GTK frontend for VirtualBox. Its objective is to
support only the basic features of VirtualBox and keep the interface
simple and clean.
WWW: http://vboxgtk.sourceforge.net/

View file

@ -0,0 +1,17 @@
bin/vboxgtk
%%VBOXGTKDIR%%/pixmaps/16x16.png
%%VBOXGTKDIR%%/pixmaps/32x32.png
%%VBOXGTKDIR%%/pixmaps/48x48.png
%%VBOXGTKDIR%%/util.py
%%VBOXGTKDIR%%/vboxdao_vboxmanage.py
%%VBOXGTKDIR%%/vboxdao_xml.py
%%VBOXGTKDIR%%/vboxgtk
%%VBOXGTKDIR%%/vboxgtk.glade
%%VBOXGTKDIR%%/vboxiface.py
%%VBOXGTKDIR%%/vboxmgr.py
%%VBOXGTKDIR%%/vboxrunner_sdl_cs.py
%%VBOXGTKDIR%%/vboxrunner_sdl_thr.py
%%VBOXGTKDIR%%/vmvdi.py
share/pixmaps/vboxgtk.png
@dirrm %%VBOXGTKDIR%%/pixmaps
@dirrm %%VBOXGTKDIR%%