# -*- 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
ruby.branches 2.6 2.5 2.4
ruby.setup ronn-ng 0.8.2 fetch
github.setup apjanke ronn-ng 0.8.2 v
categories-append www devel
description An updated fork of ronn. Build man pages from Markdown.
long_description Ronn-NG is a new, currently-maintained fork of the defunct \
original Ronn project. Ronn builds manuals. It converts \
simple, human readable textfiles to roff for terminal \
display, and also to HTML for the web.
homepage https://github.com/apjanke/ronn-ng
checksums rmd160 2ba9f3985bc1c596990e0887d0ef30d396c1491a \
sha256 de0e97051fd1b7b982b7593736827b505c1f7138b4ac520d3b02d42d7baccda8 \
if {${name} ne ${subport}} {
depends_lib-append port:rb${ruby.suffix}-mustache \
port:rb${ruby.suffix}-nokogiri \
port:rb${ruby.suffix}-rdiscount
patchfiles patch-relax-dependencies.diff
build.args ronn-ng.gemspec
destroot.args --local --force --install-dir ${destroot}${ruby.gemdir}
destroot.env-append rake=${ruby.rake}
destroot.post_args ronn-ng-${version}.gem
set binDir ${destroot}${ruby.gemdir}/bin
if {[file isdirectory $binDir]} {
foreach file [readdir $binDir] {
file copy [file join $binDir $file] ${destroot}${ruby.bindir}