1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup python 1.0 |
---|
5 | |
---|
6 | name virt-manager |
---|
7 | version 1.3.2 |
---|
8 | categories x11 |
---|
9 | platforms darwin |
---|
10 | license GPL-2+ |
---|
11 | maintainers nomaintainer |
---|
12 | description X11 Management tool for libvirt |
---|
13 | long_description virt-manager offers a graphical user-interface for managing libvirt based virtualization systems |
---|
14 | homepage https://virt-manager.org/ |
---|
15 | master_sites https://virt-manager.org/download/sources/virt-manager/ |
---|
16 | |
---|
17 | checksums rmd160 dcc0bd2d94ec14ed2b1bb7cfc697988dcf6368bf \ |
---|
18 | sha256 270c1f631fd029fee5291e83f50d69e261db666aa952c184643bc6cece77fdb3 |
---|
19 | |
---|
20 | #depends_lib path:bin/perl:perl5 \ |
---|
21 | # port:tcl \ |
---|
22 | # port:zlib |
---|
23 | |
---|
24 | python.versions 27 |
---|
25 | |
---|
26 | depends_build port:intltool |
---|
27 | |
---|
28 | depends_lib port:gtk3 \ |
---|
29 | port:dbus-python \ |
---|
30 | port:py-gobject3 |
---|
31 | |
---|
32 | use_configure yes |
---|
33 | configure.cmd ${python.bin} setup.py configure |
---|
34 | configure.pre_args |
---|
35 | |
---|
36 | # At least update-icon-cache has a "3.0" suffix, I don't need them and I don't |
---|
37 | # feel like patching setup.py |
---|
38 | destroot.cmd-append --no-update-icon-cache --no-compile-schemas |
---|
39 | |
---|
40 | pre-configure { |
---|
41 | reinplace "1s,/usr/bin/python2,${python.bin}," \ |
---|
42 | virt-manager \ |
---|
43 | virt-clone \ |
---|
44 | virt-convert \ |
---|
45 | virt-install \ |
---|
46 | virt-xml |
---|
47 | } |
---|
48 | |
---|