4 CATEGORIES= deskutils net-mgmt
5 MASTER_SITES= https://virt-manager.org/download/sources/${PORTNAME}/
7 MAINTAINER= novel@FreeBSD.org
8 COMMENT= Toolkit to interact with virtualization capabilities
12 LIB_DEPENDS= libvirt.so:devel/libvirt
13 BUILD_DEPENDS= rst2man:textproc/py-docutils@${PY_FLAVOR}
14 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>=0.83.2:devel/py-dbus@${PY_FLAVOR} \
15 ${PYTHON_PKGNAMEPREFIX}libxml2>=2.7.8:textproc/py-libxml2@${PY_FLAVOR} \
16 vte3>=0:x11-toolkits/vte3 \
17 ${PYTHON_PKGNAMEPREFIX}ipaddr>=0:devel/py-ipaddr@${PY_FLAVOR} \
18 ${PYTHON_PKGNAMEPREFIX}libvirt>=0:devel/py-libvirt@${PY_FLAVOR} \
19 ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \
20 gtk-vnc>=0.4.4:net/gtk-vnc \
21 libvirt-glib>=0.1.9:devel/libvirt-glib \
22 libosinfo>=0:devel/libosinfo \
23 spice-gtk>=0.26:deskutils/spice-gtk \
24 ssh-askpass:security/openssh-askpass
26 PYDISTUTILS_INSTALLNOSINGLE= yes
27 PYDISTUTILS_CONFIGURE_TARGET= configure
28 PYDISTUTILS_CONFIGUREARGS= --prefix=${PREFIX}
29 USES= python:3.3+ gettext gnome shebangfix
30 USE_PYTHON= noegginfo autoplist distutils noflavors
34 USE_GNOME= gtksourceview4 introspection:run intltool librsvg2 pygobject3
36 SHEBANG_FILES= virt-manager \
40 virtManager/virtmanager.py
42 GLIB_SCHEMAS= org.virt-manager.virt-manager.gschema.xml
44 #add workaround for two autoplist functions
46 @${MKDIR} ${STAGEDIR}/${PREFIX}/share/glib-2.0/schemas/
47 .for file in ${GLIB_SCHEMAS}
48 ${INSTALL_DATA} ${WRKSRC}/data/${file} ${STAGEDIR}/${PREFIX}/share/glib-2.0/schemas
51 .include <bsd.port.mk>