# $Id: Portfile,v 1.5 2004/10/12 17:00:30 olegb Exp $

PortSystem 1.0
name		devhelp
version		0.9.2
revision	2
description	DevHelp is to be an API documentation browser for GNOME.
long_description	DevHelp's primary goal is to be an API documentation \
			browser for GNOME.
maintainers	gnome-darwinports@opendarwin.org
categories	gnome 
platforms	darwin 
homepage	http://www.imendio.com/projects/devhelp/
master_sites    gnome:sources/devhelp/0.9/
use_bzip2	yes
checksums	md5 af4a26d243e5fecbb95db1b901ba47d4
depends_lib	lib:libgtkhtml-2:libgtkhtml bin:mozilla:mozilla
configure.env   CPPFLAGS="-L${prefix}/lib -I${prefix}/include" \
                CFLAGS="-no-cpp-precomp -flat_namespace -undefined suppress" 
post-destroot   {                 
                reinplace "s|export LD_LIBRARY_PATH|export DYLD_FALLBACK_LIBRARY_PATH=\$DYLD_FALLBACK_LIBRARY_PATH:${prefix}/lib/mozilla-1.7.3/|g" ${destroot}/${prefix}/bin/devhelp
}
