1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name libvirt |
---|
7 | version 0.8.8 |
---|
8 | categories sysutils |
---|
9 | license LGPL-2.1 |
---|
10 | platforms darwin |
---|
11 | maintainers redhat.com:jclift |
---|
12 | |
---|
13 | description Libvirt - The Virtualization API |
---|
14 | |
---|
15 | long_description A toolkit to interact with the virtualization \ |
---|
16 | capabilities of modern hypervisors. |
---|
17 | |
---|
18 | homepage http://www.libvirt.org/ |
---|
19 | master_sites http://www.libvirt.org/sources/ |
---|
20 | |
---|
21 | checksums md5 ac9235576352b84b8cb17df7456bbdfc \ |
---|
22 | sha1 b80374768d7bc3234735c1221aa554c75fe79ab8 \ |
---|
23 | rmd160 2009761fa7cb01300d7c8c566ea8613f23289900 |
---|
24 | |
---|
25 | depends_build port:pkgconfig \ |
---|
26 | port:xhtml1 |
---|
27 | |
---|
28 | depends_lib port:curl \ |
---|
29 | port:gnutls \ |
---|
30 | port:libiconv \ |
---|
31 | port:libpcap \ |
---|
32 | port:libssh2 \ |
---|
33 | port:libxml2 \ |
---|
34 | port:readline \ |
---|
35 | port:yajl \ |
---|
36 | port:zlib |
---|
37 | |
---|
38 | configure.args-append \ |
---|
39 | --without-apparmor \ |
---|
40 | --without-audit \ |
---|
41 | --without-avahi \ |
---|
42 | --without-capng \ |
---|
43 | --without-dtrace \ |
---|
44 | --without-hal \ |
---|
45 | --with-init-script=none \ |
---|
46 | --without-lxc \ |
---|
47 | --without-macvtap \ |
---|
48 | --without-netcf \ |
---|
49 | --without-network \ |
---|
50 | --without-numactl \ |
---|
51 | --without-one \ |
---|
52 | --without-phyp \ |
---|
53 | --without-polkit \ |
---|
54 | --without-python \ |
---|
55 | --without-qemu \ |
---|
56 | --without-sasl \ |
---|
57 | --without-selinux \ |
---|
58 | --without-udev \ |
---|
59 | --without-uml \ |
---|
60 | --without-virtualport \ |
---|
61 | --without-xen \ |
---|
62 | --without-xenapi \ |
---|
63 | --without-xen-inotify \ |
---|
64 | --with-esx \ |
---|
65 | --with-libpcap \ |
---|
66 | --with-libvirtd \ |
---|
67 | --with-openvz \ |
---|
68 | --with-remote \ |
---|
69 | --with-test \ |
---|
70 | --with-vbox=check \ |
---|
71 | --with-vmware \ |
---|
72 | --with-xml-catalog-file=${prefix}/etc/xml/catalog \ |
---|
73 | --with-yajl |
---|
74 | |
---|
75 | variant avahi description {Use Avahi to advertise remote daemon} { |
---|
76 | depends_lib-append port:avahi |
---|
77 | configure.args-delete --without-avahi |
---|
78 | configure.args-append --with-avahi |
---|
79 | } |
---|
80 | |
---|
81 | variant python24 conflicts python25 python26 python27 \ |
---|
82 | description {Compile Python 2.4 bindings} { |
---|
83 | depends_lib-append port:python24 |
---|
84 | configure.args-delete --without-python |
---|
85 | configure.args-append --with-python |
---|
86 | configure.env-append PYTHON=${prefix}/bin/python2.4 |
---|
87 | } |
---|
88 | |
---|
89 | variant python25 conflicts python24 python26 python27 \ |
---|
90 | description {Compile Python 2.5 bindings} { |
---|
91 | depends_lib-append port:python25 |
---|
92 | configure.args-delete --without-python |
---|
93 | configure.args-append --with-python |
---|
94 | configure.env-append PYTHON=${prefix}/bin/python2.5 |
---|
95 | } |
---|
96 | |
---|
97 | variant python26 conflicts python24 python25 python27 \ |
---|
98 | description {Compile Python 2.6 bindings} { |
---|
99 | depends_lib-append port:python26 |
---|
100 | configure.args-delete --without-python |
---|
101 | configure.args-append --with-python |
---|
102 | configure.env-append PYTHON=${prefix}/bin/python2.6 |
---|
103 | } |
---|
104 | |
---|
105 | variant python27 conflicts python24 python25 python26 \ |
---|
106 | description {Compile Python 2.7 bindings} { |
---|
107 | depends_lib-append port:python27 |
---|
108 | configure.args-delete --without-python |
---|
109 | configure.args-append --with-python |
---|
110 | configure.env-append PYTHON=${prefix}/bin/python2.7 |
---|
111 | } |
---|
112 | |
---|
113 | variant sasl description {Use Cyrus SASL for authentication} { |
---|
114 | depends_lib-append port:cyrus-sasl2 |
---|
115 | configure.args-delete --without-sasl |
---|
116 | configure.args-append --with-sasl |
---|
117 | } |
---|
118 | |
---|
119 | # Yajl doesn't build for universal variants |
---|
120 | if {[variant_isset universal]} { |
---|
121 | depends_lib-delete port:yajl |
---|
122 | configure.args-delete --with-yajl |
---|
123 | } |
---|