# $Id: Portfile 85408 2011-10-13 11:02:33Z kimuraw@macports.org $

PortSystem		1.0
PortGroup		ruby 1.0

ruby.setup		htree 0.7 basic_install.rb {README rdoc}
maintainers		kimuraw
description		htree provides a tree data structre which represent HTML and XML data.
long_description	htree provides a tree data structre which represent HTML and XML data.\
\
  * Permissive unified HTML/XML parser\
  * byte-to-byte roundtripping unparser\
  * XML namespace support\
  * Dedicated class for escaped string. This ease sanitization.\
  * HTML/XHTML/XML generator\
  * template engine\
  * recursive template expansion\
  * converter to REXML document

platforms   		darwin

homepage        http://www.a-k-r.org/htree/
master_sites    http://www.a-k-r.org/htree/
license			Ruby
checksums		md5 a65a52be7acdf91ddc7388c6fbc06763 \
				rmd160 e6c2e8385da5fbd098326ead8abd533f294e1f5d \
				sha1 e1a00176288e447e89ad4a835b159bd473a4fb41

patchfiles		patch-install.rb.diff

test.run        yes
test.cmd        ${ruby.bin}
test.target		test-all.rb

livecheck.type	regex
livecheck.url	${homepage}
livecheck.regex	{>htree-([0-9.]+).tar.gz</a>}

