# -*- 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

PortSystem      1.0
PortGroup       muniversal 1.0

name            libbonobo
version         2.32.1
revision        1
set branch      [join [lrange [split ${version} .] 0 1] .]
maintainers     nomaintainer
categories      gnome
platforms       darwin
# library under LGPL-2+, tools under GPL-2+
license         GPL-2+ LGPL-2+
description     A library for creating reusable components

long_description \
    Bonobo is a set of language and system independant CORBA \
    interfaces for creating reusable components, controls and creating \
    compound documents.

homepage        https://www.gnome.org/
master_sites    gnome:sources/${name}/${branch}/
use_bzip2       yes

checksums       rmd160  e8ce74114de9fe8e9cdef3e697b42c3290076010 \
                sha256  9160d4f277646400d3bb6b4fa73636cc6d1a865a32b9d0760e1e9e6ee624976b

depends_build   port:pkgconfig \
                port:gnome-common \
                port:intltool

depends_lib     path:lib/pkgconfig/glib-2.0.pc:glib2 \
                port:dbus-glib \
                port:orbit2 \
                port:gettext \
                port:libxml2 \
                port:libiconv \
                port:popt

patchfiles      patch-configure.diff \
                patch-activation-server-Makefile.in.diff

test.run        yes
test.target     check

livecheck.type  gnome