diff --git a/perl/p5-sys-virt/Portfile b/perl/p5-sys-virt/Portfile
new file mode 100644
index 0000000..13151e1
-
|
+
|
|
| 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 | |
| 3 | # NOTE: If you want to update this port, you should also update libvirt at the |
| 4 | # same time. |
| 5 | |
| 6 | PortSystem 1.0 |
| 7 | PortGroup perl5 1.0 |
| 8 | |
| 9 | perl5.branches 5.24 |
| 10 | perl5.setup Sys-Virt 2.4.0 |
| 11 | |
| 12 | license LGPL-2.1+ |
| 13 | platforms darwin |
| 14 | maintainers nomaintainer |
| 15 | |
| 16 | description Libvirt - The Virtualization API |
| 17 | |
| 18 | long_description This is the Perl binding for libvirt. |
| 19 | |
| 20 | checksums rmd160 079ce02d32554ec3097fe76875317d90ac6b5c77 \ |
| 21 | sha256 c441e805d21207791998833b12adae0dbf15bb34cc6e40445c8fbc52c79db03b |
| 22 | |
| 23 | # Depend on various Perl ports, plus libvirt itself |
| 24 | depends_lib-append port:libvirt |
| 25 | if {${perl5.major} != ""} { |
| 26 | depends_lib-append port:p${perl5.major}-xml-xpath \ |
| 27 | port:p${perl5.major}-cpan-changes |
| 28 | } |
| 29 | |
| 30 | # This module breaks if parallel build is used! |
| 31 | use_parallel_build no |
diff --git a/sysutils/libvirt/Portfile b/sysutils/libvirt/Portfile
index 33b726b..8cee612 100644
a
|
b
|
|
1 | 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$ |
| 2 | |
| 3 | # NOTE: When you update this port, please also update the following |
| 4 | # language-binding ports: p5-sys-virt |
3 | 5 | |
4 | 6 | PortSystem 1.0 |
5 | 7 | |
6 | 8 | name libvirt |
7 | | version 1.3.5 |
| 9 | version 2.4.0 |
8 | 10 | categories sysutils |
9 | 11 | license LGPL-2.1+ |
10 | 12 | platforms darwin |
… |
… |
long_description A toolkit to interact with the virtualization \ |
17 | 19 | |
18 | 20 | homepage http://www.libvirt.org/ |
19 | 21 | master_sites ${homepage}sources/ |
| 22 | use_xz yes |
20 | 23 | |
21 | | checksums rmd160 6a2e0b288dcafaab0440c35523c6658ef9d3ea8d \ |
22 | | sha256 93a23c44eb431da46c9458f95a66e29c9b98e37515d44b6be09e75b35ec94ac8 |
| 24 | checksums rmd160 ceac4c29e03f7c29113e9a926adb21c6a72cdada \ |
| 25 | sha256 b727c5f43ed3d7337ec2c2f2031ebd4207507978f68d00ad13d4f0f84aad6224 |
23 | 26 | |
24 | 27 | depends_build port:pkgconfig \ |
25 | 28 | port:xhtml1 |
… |
… |
depends_lib port:curl \ |
35 | 38 | |
36 | 39 | configure.args --disable-silent-rules \ |
37 | 40 | --without-apparmor \ |
| 41 | --without-attr \ |
38 | 42 | --without-audit \ |
39 | 43 | --without-avahi \ |
| 44 | --without-blkid \ |
40 | 45 | --without-capng \ |
| 46 | --without-dbus \ |
41 | 47 | --without-dtrace \ |
| 48 | --without-fuse \ |
| 49 | --without-glusterfs \ |
42 | 50 | --without-hal \ |
43 | 51 | --with-init-script=none \ |
44 | 52 | --without-libpcap \ |
… |
… |
variant avahi description {Use Avahi to advertise remote daemon} { |
73 | 81 | configure.args-replace --without-avahi --with-avahi |
74 | 82 | } |
75 | 83 | |
| 84 | variant fuse description {FUSE support} { |
| 85 | depends_lib-append port:osxfuse |
| 86 | configure.args-replace --without-fuse --with-fuse |
| 87 | } |
| 88 | |
| 89 | variant openssl description {Use OpenSSL/LibreSSL instead of GNUTLS} { |
| 90 | depends_lib-replace port:gnutls path:lib/libssl.dylib:openssl |
| 91 | configure.args-append --without-gnutls --with-openssl |
| 92 | } |
| 93 | |
| 94 | variant qemu description {Support managing QEMU VMs} { |
| 95 | depends_lib-append port:qemu |
| 96 | configure.args-replace --without-qemu --with-qemu |
| 97 | } |
| 98 | |
76 | 99 | variant sasl description {Use Cyrus SASL for authentication} { |
77 | 100 | depends_lib-append port:cyrus-sasl2 |
78 | 101 | configure.args-replace --without-sasl --with-sasl |