# -*- 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 42012 2008-11-13 15:49:51Z devans@macports.org $

PortSystem 1.0

name		oaf
version		0.6.10
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     lib:libORBit:orbit lib:libxml:libxml lib:libpopt:popt
patchfiles	patch_configure
configure.args  --mandir=${prefix}/share/man
configure.cppflags-append "-L${prefix}/lib"
configure.cflags-append "-no-cpp-precomp -flat_namespace -undefined suppress"

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

