ruby.branches 2.6 2.5 2.4
ruby.setup rdiscount 2.2.0.1 gem
description Fast Implementation of Gruber's Markdown in C
Discount is an implementation of John Gruber's Markdown markup language \
in C. It implements all of the language described in the markdown syntax \
document and passes the Markdown 1.0 test suite.
homepage https://github.com/rtomayko/rdiscount
checksums rmd160 f2bfa0b406f6e182b7c41da89e94e23724961a5a \
sha256 a34f55937c84f390f979808c7002fd24ab1e8b0172c916b0563d5f03e6983bab \
if {${name} ne ${subport}} {
set gemdir ${destroot}${ruby.gemdir}/gems/${worksrcdir}
set mandir ${destroot}${prefix}/share/man/
set docdir ${destroot}${prefix}/share/doc/${ruby.module}${ruby.link_binaries_suffix}
xinstall ${gemdir}/man/rdiscount.1 ${mandir}/man1/rdiscount${ruby.link_binaries_suffix}.1
xinstall ${gemdir}/man/markdown.7 ${mandir}/man7/markdown${ruby.link_binaries_suffix}.7
xinstall -W ${gemdir} README.markdown ${docdir}