xref: /mports/deskutils/virt-manager/Makefile
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1PORTNAME=	virt-manager
2PORTVERSION=	5.1.0
3CATEGORIES=	deskutils net-mgmt
4MASTER_SITES=	https://releases.pagure.org/${PORTNAME}/
5
6MAINTAINER=	ports@MidnightBSD.org
7COMMENT=	Toolkit to interact with virtualization capabilities
8WWW=		https://virt-manager.org/
9
10LICENSE=	lgpl3
11
12BUILD_DEPENDS=	rst2man:textproc/py-docutils@${PY_FLAVOR}
13RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}dbus>=0.83.2:devel/py-dbus@${PY_FLAVOR} \
14		${PYTHON_PKGNAMEPREFIX}libxml2-python>=2.7.8:textproc/libxml2-python@${PY_FLAVOR} \
15		vte3>=0:x11-toolkits/vte3 \
16		${PYTHON_PKGNAMEPREFIX}ipaddr>=0:devel/py-ipaddr@${PY_FLAVOR} \
17		${PYTHON_PKGNAMEPREFIX}libvirt>=0:devel/py-libvirt@${PY_FLAVOR} \
18		${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \
19		gtk-vnc>=0.4.4:net/gtk-vnc \
20		libvirt-glib>=0.1.9:devel/libvirt-glib \
21		libosinfo>=0:devel/libosinfo \
22		spice-gtk>=0.26:deskutils/spice-gtk \
23		ssh-askpass:security/openssh-askpass
24
25USES=		desktop-file-utils gettext gnome meson tar:xz python
26USE_GNOME=	gtksourceview4 introspection:run intltool librsvg2 pygobject3
27GLIB_SCHEMAS=	org.virt-manager.virt-manager.gschema.xml
28
29CONFIGURE_ARGS=	-Dtests=disabled
30
31NO_ARCH=	yes
32
33post-patch:
34	${REINPLACE_CMD} -e "s|'python3'|'${PYTHON_CMD}'|" \
35		${WRKSRC}/meson.build
36	${REINPLACE_CMD} -e 's|"""#!/usr/bin/env python3|"""#!${PYTHON_CMD}|' \
37		${WRKSRC}/scripts/make_bin_wrapper.py
38
39.include <bsd.port.mk>
40

served by {OpenGrok

Last Index Update: Sun Mar 22 17:06:33 EDT 2026