# -*- 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 66628 2010-04-18 14:37:56Z ryandesign@macports.org $

PortSystem 1.0

name		oaf
version		0.6.10
revision	1
set branch      [join [lrange [split ${version} .] 0 1] .]
description	Object Activation Framework for GNOME1
long_description        OAF is the Object Activation Framework, a much more \
			powerful replacement for gnorba in the GNOME 1.4 \
			development platform. It's used by Nautilus (and \
			optinally by Bonobo by other GNOME applications) \
			for advanced object query and activation capabilities.
maintainers	nomaintainer
categories	gnome
platforms	darwin
homepage	http://www.gnome.org/
master_sites    gnome:sources/${name}/${branch}/
checksums	md5 8cae2c1a692922f91827cad435136e2c
depends_lib     port:orbit port:libxml port:popt
patchfiles	patch_configure patch_oaf.m4
configure.args  --mandir=${prefix}/share/man \
                ac_cv_path_INTLTOOL_PERL=${prefix}/bin/perl \
                --with-glib-prefix=${prefix} \
                --with-orbit-prefix=${prefix} \
                ac_cv_path_ORBIT_IDL=${prefix}/bin/orbit-idl \
                ac_cv_prog_XML_CONFIG=${prefix}/bin/xml-config
configure.cppflags-append "-L${prefix}/lib"
configure.cflags-append "-no-cpp-precomp -flat_namespace -undefined suppress"

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

