# -*- 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
# $Id: Portfile 50659 2009-05-06 05:21:41Z mcalhoun@macports.org $

PortSystem      1.0
PortGroup       muniversal 1.0

name            libbonobo
version         2.24.1
set branch      [join [lrange [split ${version} .] 0 1] .]
maintainers     nomaintainer
categories      gnome
platforms       darwin
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        http://www.gnome.org/
master_sites    gnome:sources/${name}/${branch}/
use_bzip2       yes

checksums       md5     8868b6083392964a6969547ceb8d7cd1 \
                sha1    9bd321ca9c7e6abba8d4f65b53940d7096e6724b \
                rmd160  a6c49e74eda18bcd7a3ee842c2ae0c68502ef439

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

test.run        yes
test.target     check

livecheck.check regex
livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/
livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
