Ticket #50744: Portfile

File Portfile, 1.4 KB (added by mw-macports@…, 8 years ago)
Line 
1# $Id$
2
3PortSystem          1.0
4PortGroup           python 1.0
5
6name                virt-manager
7version             1.3.2
8categories          x11
9platforms           darwin
10license             GPL-2+
11maintainers         nomaintainer
12description         X11 Management tool for libvirt
13long_description    virt-manager offers a graphical user-interface for managing libvirt based virtualization systems
14homepage            https://virt-manager.org/
15master_sites        https://virt-manager.org/download/sources/virt-manager/
16
17checksums           rmd160  dcc0bd2d94ec14ed2b1bb7cfc697988dcf6368bf \
18                    sha256  270c1f631fd029fee5291e83f50d69e261db666aa952c184643bc6cece77fdb3
19
20#depends_lib         path:bin/perl:perl5 \
21#                    port:tcl \
22#                    port:zlib
23
24python.versions     27
25
26depends_build       port:intltool
27
28depends_lib         port:gtk3 \
29                    port:dbus-python \
30                    port:py-gobject3
31
32use_configure       yes
33configure.cmd       ${python.bin} setup.py configure
34configure.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
38destroot.cmd-append --no-update-icon-cache --no-compile-schemas
39
40pre-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