description Convert between XML/HTML and a shell-friendly format
long_description These tools are used to convert XML and HTML to and from a \
line-oriented format more amenable to processing by classic \
Unix pipeline processing tools, like grep, sed, awk, cut, \
shell scripts, and so forth.
homepage http://dan.egnor.name/xml2/
master_sites http://download.ofb.net/gale/
checksums rmd160 bb4e7d93703f4724b0ea812a21bfa96e082eab51 \
sha256 e3203a5d3e5d4c634374e229acdbbe03fea41e8ccdef6a594a3ea50a50d29705
depends_build port:pkgconfig
# Fix symlinks so they don't point into the destroot.
ln -sf ./xml2 ${destroot}${prefix}/bin/html2
ln -sf ./2xml ${destroot}${prefix}/bin/2html
livecheck.url [lindex ${master_sites} 0]
livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}