source: trunk/dports/ruby/rb19-rdiscount/Portfile

Last change on this file was 115107, checked in by ryandesign@…, 4 years ago

rb19-rdiscount: update to 1.6.8

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 115107 2013-12-25 06:45:11Z ryandesign@macports.org $
2
3PortSystem          1.0
4PortGroup           ruby 1.0
5
6ruby.setup          rdiscount 1.6.8 gem {} rubygems ruby19
7description         Fast Implementation of Gruber's Markdown in C
8long_description    \
9    Discount is an implementation of John Gruber's Markdown markup language \
10    in C. It implements all of the language described in the markdown syntax \
11    document and passes the Markdown 1.0 test suite.
12maintainers         nomaintainer
13homepage            http://github.com/rtomayko/rdiscount
14platforms           darwin
15license             BSD
16checksums           rmd160  767848f4ea6e1fc4b1aa477a1319a70d7280c3c0 \
17                    sha256  a085178fc7d6372222af192bdc8aa8b6b24c8014f0c2a3c227a1c173f104d4df
18
19post-destroot {
20    set gemdir ${destroot}${ruby.gemdir}/gems/${worksrcdir}
21    set mandir ${destroot}${prefix}/share/man/
22    set docdir ${destroot}${prefix}/share/doc/${ruby.module}
23    xinstall -d ${docdir}
24
25    xinstall ${gemdir}/man/rdiscount.1 ${mandir}/man1/
26    xinstall ${gemdir}/man/markdown.7 ${mandir}/man7/
27    xinstall -W ${gemdir} README.markdown ${docdir}
28}
Note: See TracBrowser for help on using the repository browser.