Update deskutils/korganizer to version 22.08.1_1
[dports.git] / deskutils / virt-manager / Makefile
1 PORTNAME=       virt-manager
2 PORTVERSION=    4.0.0
3 PORTREVISION=   2
4 CATEGORIES=     deskutils net-mgmt
5 MASTER_SITES=   https://virt-manager.org/download/sources/${PORTNAME}/
6
7 MAINTAINER=     novel@FreeBSD.org
8 COMMENT=        Toolkit to interact with virtualization capabilities
9
10 LICENSE=        LGPL3
11
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
25
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
31
32 NO_ARCH=        yes
33
34 USE_GNOME=      gtksourceview4 introspection:run intltool librsvg2 pygobject3
35
36 SHEBANG_FILES=  virt-manager \
37                 virt-install \
38                 virt-clone \
39                 virt-xml \
40                 virtManager/virtmanager.py
41
42 GLIB_SCHEMAS=   org.virt-manager.virt-manager.gschema.xml
43
44 #add workaround for two autoplist functions
45 post-install:
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
49 .endfor
50
51 .include <bsd.port.mk>