Portfile

# $Id: Portfile 23137 2007-03-26 08:49:51Z rhwood@macports.org $
PortSystem 1.0
name gnome-doc-utils
version 0.10.1
description GNOME document utils.
long_description \
gnome-doc-utils is a collection of documentation utilities \
for the Gnomeproject. Notably, it contains utilities for building \
documentation andall auxiliary files in your source tree, and it \
contains the DocBookXSLT stylesheets that were once distributed \
with Yelp.
maintainers rhwood@mapcorts.org openmaintainer@macports.org
categories gnome
platforms darwin
homepage http://www.gnome.org/
master_sites gnome:sources/gnome-doc-utils/0.10/

checksums md5 208775a4b6c6d9ea0478a84afb36701f \
sha1 b47219d7aebe997986fdad690c3feca3d01573ea \
rmd160 2e8bec46c3b11be6c66d2d541e1dcc8055dfd4d4

use_bzip2 yes

depends_lib port:libxslt port:py-libxml2
depends_build port:scrollkeeper

configure.env CPPFLAGS="-L${prefix}/lib -I${prefix}/include"
configure.args --disable-scrollkeeper

post-patch {
reinplace "s| -W compat||g" ${worksrcpath}/doc/xslt/Makefile.in
}

post-activate {
system "scrollkeeper-update"
}