1 | # -*- 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 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup ruby 1.0 |
---|
6 | |
---|
7 | ruby.setup asciidoctor 1.5.4 gem {} rubygems ruby22 |
---|
8 | name asciidoctor |
---|
9 | |
---|
10 | categories textproc |
---|
11 | platforms darwin |
---|
12 | |
---|
13 | license MIT |
---|
14 | maintainers kollerie.com:guido \ |
---|
15 | openmaintainer |
---|
16 | description Formatter/translator for text files to numerous formats |
---|
17 | long_description Asciidoctor is a fast text processor and publishing \ |
---|
18 | toolchain for converting AsciiDoc content to HTML5, \ |
---|
19 | DocBook 5 (or 4.5) and other formats. Asciidoctor is \ |
---|
20 | written in Ruby, packaged as a RubyGem and published \ |
---|
21 | to RubyGems.org. The gem is also included in several \ |
---|
22 | Linux distributions, including Fedora, Debian and \ |
---|
23 | Ubuntu. Asciidoctor is open source, hosted on GitHub \ |
---|
24 | and released under the MIT license. |
---|
25 | homepage http://asciidoctor.org/ |
---|
26 | checksums rmd160 eedbb93e9a338061f63d2d803301aed1f6481a8c \ |
---|
27 | sha256 0ca7c78528165b194b678a71f5bc600aafbee3dfa5bcd40c042e382d5d883477 |
---|
28 | |
---|
29 | post-destroot { |
---|
30 | # Reverse addition of the ruby interpreter version number as suffix to command line tools |
---|
31 | foreach bin [glob -nocomplain -tails -directory "${destroot}${ruby.bindir}" *] { |
---|
32 | if {[catch {file type "${destroot}${prefix}/bin/${bin}"}]} { |
---|
33 | move "${destroot}${prefix}/bin/${bin}${ruby.link_binaries_suffix}" "${destroot}${prefix}/bin/${bin}" |
---|
34 | } |
---|
35 | } |
---|
36 | } |
---|