# Created by: Alexander Logvinov # $FreeBSD: head/deskutils/vboxgtk/Makefile 412346 2016-04-01 14:00:51Z mat $ PORTNAME= vboxgtk PORTVERSION= 0.8.2 PORTREVISION= 1 CATEGORIES= deskutils emulators gnome MASTER_SITES= GOOGLE_CODE MAINTAINER= ports@FreeBSD.org COMMENT= GTK frontend for VirtualBox RUN_DEPENDS= ${PYTHON_SITELIBDIR}/xpcom/vboxxpcom.py:emulators/virtualbox-ose USES= python USE_PYTHON= distutils autoplist USE_GNOME= gtk30 intltool pygtk2 INSTALLS_ICONS= yes OPTIONS_DEFINE= NLS NLS_USES= gettext .include post-patch: .if ! ${PORT_OPTIONS:MNLS} @${REINPLACE_CMD} -e '/self.add_mo_files/d' \ -e '/os.system("intltool/d' ${WRKSRC}/setup.py .endif @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g ; \ s|%%PYTHON_SITELIBDIR%%|${PYTHON_SITELIBDIR}|g' ${WRKSRC}/bin/${PORTNAME} .include