source: trunk/dports/gnome/libbonoboui/Portfile

Last change on this file was 148009, checked in by mcalhoun@…, 19 months ago

libbonoboui: requires gtk2 with x11 variant (see #48986)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.5 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 148009 2016-04-24 14:54:50Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           active_variants 1.1
6
7name                libbonoboui
8version             2.24.5
9revision            8
10set branch          [join [lrange [split ${version} .] 0 1] .]
11maintainers         nomaintainer
12categories          gnome
13# libs are LGPL, binaries and examples are GPL
14license             {LGPL GPL-2+}
15platforms           darwin
16description         GUI frontend to the libbonobo component of GNOME 2
17
18long_description    Bonobo is a set of language and system independant CORBA \
19                    interfaces for creating reusable components and creating compound \
20                    documents. libbonoboui includes a Gtk+ based implementation of the \
21                    Bonobo interfaces, enabling developers to create reusable \
22                    components and applications that can be used to form more complex \
23                    documents.
24
25homepage            http://www.gnome.org/
26master_sites        gnome:sources/${name}/${branch}/
27use_bzip2           yes
28
29checksums           rmd160  0ebf5618e1564317561b098d6774f0c75ea082f0 \
30                    sha256  fab5f2ac6c842d949861c07cb520afe5bee3dce55805151ce9cd01be0ec46fcd
31
32depends_build       port:coreutils \
33                    port:pkgconfig \
34                    port:intltool \
35                    port:gnome-common \
36                    port:gtk-doc \
37                    port:autoconf \
38                    port:automake \
39                    port:libtool
40
41depends_lib         port:desktop-file-utils \
42                    port:gconf \
43                    port:libbonobo \
44                    port:libffi \
45                    port:libgnome \
46                    port:libgnomecanvas \
47                    port:pangox-compat
48
49# see #48986
50depends_lib-append port:gtk2
51require_active_variants gtk2 x11
52
53# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
54
55post-patch {
56    xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
57}
58
59configure.cmd       ./autogen.sh
60
61configure.args      --without-x
62
63configure.cflags-append \
64                    -Wno-format-nonliteral
65
66variant x11 {
67    configure.args-append   --x-includes=${prefix}/include \
68                            --x-libraries=${prefix}/lib
69    configure.args-replace  --without-x --with-x
70}
71
72default_variants    +x11
73
74post-activate {
75    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
76}
77
78livecheck.type      gnome
Note: See TracBrowser for help on using the repository browser.