# $Id: Portfile,v 1.8 2005/08/14 08:55:07 pguyot Exp $
PortSystem		1.0
PortGroup		ruby 1.0
revision		1

ruby.setup		{xslt ruby-xslt} 0.6.0 extconf.rb \
				{README AUTHORS COPYING tests}
maintainers		darwinports@opendarwin.org
description		A Ruby class for processing XSLT
long_description	${description}
homepage		http://gregoire.lejeune.free.fr/
master_sites	${homepage}
distname		${ruby.project}_${version}
worksrcdir		${ruby.project}
checksums		md5 14c65fc57affe31ce5b5d22dc8500863
platforms		darwin

depends_lib-append	lib:libz:zlib \
					lib:libxml2:libxml2 \
					lib:libxslt:libxslt

patch {
	reinplace "s|'-g -Wall' \+|'-g -Wall ' \+|g" ${worksrcpath}/extconf.rb
}