Ticket #50742: Portfile

File Portfile, 1.2 KB (added by mw-macports@…, 8 years ago)
Line 
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
4PortSystem          1.0
5
6name                libvirt-glib
7version             0.2.2
8categories          sysutils
9license             LGPL-2.1+
10platforms           darwin
11maintainers         nomaintainer
12
13description         libvirt-glib - GLib bindings for libvirt
14
15long_description    GLib bindings for libvirt, a toolkit to interact with the \
16                    virtualization capabilities of modern hypervisors.
17
18homepage            http://www.libvirt.org/
19master_sites        ${homepage}sources/glib/
20
21checksums           sha256  d7be16025231c91ccae43838b7cdb1d55d181856a2a50b0f7b1c5078ad202d9d
22
23depends_build       port:gobject-introspection \
24                    port:intltool
25
26depends_lib         port:libvirt
27
28# Should this be a variant? We need it for virt-manager.
29configure.args      --with-python
30
31pre-configure {
32    reinplace {s/-Wl,--version-script=[^ ]*//}  \
33        libvirt-gconfig/Makefile.am \
34        libvirt-gconfig/Makefile.in \
35        libvirt-glib/Makefile.am \
36        libvirt-glib/Makefile.in \
37        libvirt-gobject/Makefile.am \
38        libvirt-gobject/Makefile.in
39}