PortSystem		1.0
PortGroup		ruby 1.0
PortGroup               github 1.0

version                 0.9.9
github.setup            glejeune ruby-xslt ${version} v
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
ruby.setup		{xslt ruby-xslt} ${version} setup.rb \
                        {AUTHORS.rdoc COPYING ChangeLog.rdoc README.rdoc}
license			GPL-2+
maintainers		nomaintainer
description		A Ruby class for processing XSLT
long_description	{*}${description}
homepage		http://greg.rubyfr.net/pub/packages/ruby-xslt/files/README.html

checksums		md5     b1d77162a9eaa2ca5e8d328f0476b79e \
			sha1    486c099ef6f78273afc21505319bb1d7ecd5bfac \
			rmd160  499b3fd1565ba490fcaa58772f0e80f64cbb0a29

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

patch {
	reinplace "s|require \"xml/xslt_lib\"|require \"xslt_lib\"|g" ${worksrcpath}/lib/xml/xslt.rb
}
