# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
categories textproc perl ruby
description formatter for XML documents
long_description xmlformat is a configurable formatter (or \
pretty-printer) for XML documents. It provides control \
over indentation, line-breaking, and text wrapping. \
These properties can be defined on a per-element \
basis. There is a perl and a ruby variant of this \
homepage http://www.kitebird.com/software/xmlformat/
checksums rmd160 320ec471367c5679a2f1698eefb904994eaea1a8 \
sha256 71a70397e44760d67645007ad85fea99736f4b6f8679067a3b5f010589fd8fef
depends_run bin:perl:perl5
variant ruby description {Install ruby version} {
depends_run bin:ruby:ruby
reinplace "s|/usr/bin/|/usr/bin/env |1" ${worksrcpath}/xmlformat.${ext}
reinplace "s|-w||1" ${worksrcpath}/xmlformat.${ext}
xinstall -m 755 ${worksrcpath}/xmlformat.${ext} \
${destroot}${prefix}/bin/xmlformat