# $Id: Portfile 115107 2013-12-25 06:45:11Z ryandesign@macports.org $ PortSystem 1.0 PortGroup ruby 1.0 ruby.setup rdiscount 1.6.8 gem {} rubygems ruby19 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 http://github.com/rtomayko/rdiscount platforms darwin license BSD checksums rmd160 767848f4ea6e1fc4b1aa477a1319a70d7280c3c0 \ sha256 a085178fc7d6372222af192bdc8aa8b6b24c8014f0c2a3c227a1c173f104d4df post-destroot { set gemdir ${destroot}${ruby.gemdir}/gems/${worksrcdir} set mandir ${destroot}${prefix}/share/man/ set docdir ${destroot}${prefix}/share/doc/${ruby.module} xinstall -d ${docdir} xinstall ${gemdir}/man/rdiscount.1 ${mandir}/man1/ xinstall ${gemdir}/man/markdown.7 ${mandir}/man7/ xinstall -W ${gemdir} README.markdown ${docdir} }