Files

31 lines
1.3 KiB
Plaintext

PortSystem 1.0
PortGroup ruby 1.0
ruby.branches 2.7 2.6 2.5 2.4
ruby.setup rdiscount 2.2.0.2 gem
description Fast Implementation of Gruber's Markdown in C
long_description \
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.
maintainers nomaintainer
homepage https://github.com/rtomayko/rdiscount
license BSD
checksums rmd160 c646ee5d658eb51c11de44190532340be3cedf85 \
sha256 ef886926dd97d5b4ff37c80f8ba27a780d951629465303bd53d47a941972599b \
size 68096
if {${name} ne ${subport}} {
post-destroot {
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 -d ${docdir}
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}
}
}