diff options
author | Danny Rawlins <monster.romster@gmail.com> | 2019-10-12 13:26:01 +1100 |
---|---|---|
committer | Danny Rawlins <monster.romster@gmail.com> | 2019-10-12 13:27:24 +1100 |
commit | 270b66861b62c895bad9c4c965948ab8271fefcd (patch) | |
tree | f495aa8b83f14c0ebf1029c1d574ae2b3fb53ac5 /asciidoctor | |
parent | 1315228fcc410164389699fb8753559eb504ebdc (diff) | |
download | contrib-270b66861b62c895bad9c4c965948ab8271fefcd.tar.gz contrib-270b66861b62c895bad9c4c965948ab8271fefcd.tar.xz |
asciidoctor: initial import
Diffstat (limited to 'asciidoctor')
-rw-r--r-- | asciidoctor/.footprint | 71 | ||||
-rw-r--r-- | asciidoctor/.signature | 5 | ||||
-rw-r--r-- | asciidoctor/Pkgfile | 32 |
3 files changed, 108 insertions, 0 deletions
diff --git a/asciidoctor/.footprint b/asciidoctor/.footprint new file mode 100644 index 000000000..139be2288 --- /dev/null +++ b/asciidoctor/.footprint @@ -0,0 +1,71 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/asciidoctor +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/ruby/ +drwxr-xr-x root/root usr/lib/ruby/data/ +drwxr-xr-x root/root usr/lib/ruby/data/stylesheets/ +-rwxr-xr-x root/root usr/lib/ruby/data/stylesheets/asciidoctor-default.css +-rwxr-xr-x root/root usr/lib/ruby/data/stylesheets/coderay-asciidoctor.css +drwxr-xr-x root/root usr/lib/ruby/vendor_ruby/ +-rwxr-xr-x root/root usr/lib/ruby/vendor_ruby/asciidoctor.rb +drwxr-xr-x root/root usr/lib/ruby/vendor_ruby/asciidoctor/ +-rw-r--r-- root/root usr/lib/ruby/vendor_ruby/asciidoctor/abstract_block.rb +-rw-r--r-- root/root usr/lib/ruby/vendor_ruby/asciidoctor/abstract_node.rb +-rw-r--r-- root/root usr/lib/ruby/vendor_ruby/asciidoctor/attribute_list.rb +-rw-r--r-- root/root usr/lib/ruby/vendor_ruby/asciidoctor/block.rb +-rw-r--r-- root/root usr/lib/ruby/vendor_ruby/asciidoctor/callouts.rb +-rw-r--r-- root/root usr/lib/ruby/vendor_ruby/asciidoctor/cli.rb +drwxr-xr-x root/root usr/lib/ruby/vendor_ruby/asciidoctor/cli/ +-rw-r--r-- root/root usr/lib/ruby/vendor_ruby/asciidoctor/cli/invoker.rb +-rw-r--r-- root/root usr/lib/ruby/vendor_ruby/asciidoctor/cli/options.rb +-rw-r--r-- root/root usr/lib/ruby/vendor_ruby/asciidoctor/convert.rb +-rw-r--r-- root/root usr/lib/ruby/vendor_ruby/asciidoctor/converter.rb +drwxr-xr-x root/root usr/lib/ruby/vendor_ruby/asciidoctor/converter/ +-rw-r--r-- root/root usr/lib/ruby/vendor_ruby/asciidoctor/converter/composite.rb +-rw-r--r-- root/root usr/lib/ruby/vendor_ruby/asciidoctor/converter/docbook5.rb +-rw-r--r-- root/root usr/lib/ruby/vendor_ruby/asciidoctor/converter/html5.rb +-rw-r--r-- root/root usr/lib/ruby/vendor_ruby/asciidoctor/converter/manpage.rb +-rw-r--r-- root/root usr/lib/ruby/vendor_ruby/asciidoctor/converter/template.rb +-rw-r--r-- root/root usr/lib/ruby/vendor_ruby/asciidoctor/core_ext.rb +drwxr-xr-x root/root usr/lib/ruby/vendor_ruby/asciidoctor/core_ext/ +drwxr-xr-x root/root usr/lib/ruby/vendor_ruby/asciidoctor/core_ext/float/ +-rw-r--r-- root/root usr/lib/ruby/vendor_ruby/asciidoctor/core_ext/float/truncate.rb +drwxr-xr-x root/root usr/lib/ruby/vendor_ruby/asciidoctor/core_ext/hash/ +-rw-r--r-- root/root usr/lib/ruby/vendor_ruby/asciidoctor/core_ext/hash/merge.rb +drwxr-xr-x root/root usr/lib/ruby/vendor_ruby/asciidoctor/core_ext/match_data/ +-rw-r--r-- root/root usr/lib/ruby/vendor_ruby/asciidoctor/core_ext/match_data/names.rb +-rw-r--r-- root/root usr/lib/ruby/vendor_ruby/asciidoctor/core_ext/nil_or_empty.rb +drwxr-xr-x root/root usr/lib/ruby/vendor_ruby/asciidoctor/core_ext/regexp/ +-rw-r--r-- root/root usr/lib/ruby/vendor_ruby/asciidoctor/core_ext/regexp/is_match.rb +-rw-r--r-- root/root usr/lib/ruby/vendor_ruby/asciidoctor/document.rb +-rw-r--r-- root/root usr/lib/ruby/vendor_ruby/asciidoctor/extensions.rb +-rw-r--r-- root/root usr/lib/ruby/vendor_ruby/asciidoctor/helpers.rb +-rw-r--r-- root/root usr/lib/ruby/vendor_ruby/asciidoctor/inline.rb +-rw-r--r-- root/root usr/lib/ruby/vendor_ruby/asciidoctor/list.rb +-rw-r--r-- root/root usr/lib/ruby/vendor_ruby/asciidoctor/load.rb +-rw-r--r-- root/root usr/lib/ruby/vendor_ruby/asciidoctor/logging.rb +-rw-r--r-- root/root usr/lib/ruby/vendor_ruby/asciidoctor/parser.rb +-rw-r--r-- root/root usr/lib/ruby/vendor_ruby/asciidoctor/path_resolver.rb +-rw-r--r-- root/root usr/lib/ruby/vendor_ruby/asciidoctor/reader.rb +-rw-r--r-- root/root usr/lib/ruby/vendor_ruby/asciidoctor/rouge_ext.rb +-rw-r--r-- root/root usr/lib/ruby/vendor_ruby/asciidoctor/rx.rb +-rw-r--r-- root/root usr/lib/ruby/vendor_ruby/asciidoctor/section.rb +-rw-r--r-- root/root usr/lib/ruby/vendor_ruby/asciidoctor/stylesheets.rb +-rw-r--r-- root/root usr/lib/ruby/vendor_ruby/asciidoctor/substitutors.rb +-rw-r--r-- root/root usr/lib/ruby/vendor_ruby/asciidoctor/syntax_highlighter.rb +drwxr-xr-x root/root usr/lib/ruby/vendor_ruby/asciidoctor/syntax_highlighter/ +-rw-r--r-- root/root usr/lib/ruby/vendor_ruby/asciidoctor/syntax_highlighter/coderay.rb +-rw-r--r-- root/root usr/lib/ruby/vendor_ruby/asciidoctor/syntax_highlighter/highlightjs.rb +-rw-r--r-- root/root usr/lib/ruby/vendor_ruby/asciidoctor/syntax_highlighter/html_pipeline.rb +-rw-r--r-- root/root usr/lib/ruby/vendor_ruby/asciidoctor/syntax_highlighter/prettify.rb +-rw-r--r-- root/root usr/lib/ruby/vendor_ruby/asciidoctor/syntax_highlighter/pygments.rb +-rw-r--r-- root/root usr/lib/ruby/vendor_ruby/asciidoctor/syntax_highlighter/rouge.rb +-rw-r--r-- root/root usr/lib/ruby/vendor_ruby/asciidoctor/table.rb +-rw-r--r-- root/root usr/lib/ruby/vendor_ruby/asciidoctor/timings.rb +-rw-r--r-- root/root usr/lib/ruby/vendor_ruby/asciidoctor/version.rb +-rw-r--r-- root/root usr/lib/ruby/vendor_ruby/asciidoctor/writer.rb +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rwxr-xr-x root/root usr/share/man/man1/asciidoctor.1.gz diff --git a/asciidoctor/.signature b/asciidoctor/.signature new file mode 100644 index 000000000..6f6767c7c --- /dev/null +++ b/asciidoctor/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF31oORQqZveTdF+V5pRqdytqIra+HOlD83WP/ToIsYJYotrv1i9ma1JeaUbzDjtii3aqjoH0a6zd24Rpf6J0ndgg= +SHA256 (Pkgfile) = 9c1294e151113b579933cc74e02ef3106e25b4690a0addaf9e7afdc33e6ff7ac +SHA256 (.footprint) = 3c53cf78e00e8f6702b6142aa03f07459c5eb97dff4a74d76d687cb84d9f66cf +SHA256 (asciidoctor-v2.0.10.tar.gz) = afca74837e6d4b339535e8ba0b79f2ad00bd1eef78bf391cc36995ca2e31630a diff --git a/asciidoctor/Pkgfile b/asciidoctor/Pkgfile new file mode 100644 index 000000000..918272374 --- /dev/null +++ b/asciidoctor/Pkgfile @@ -0,0 +1,32 @@ +# Description: An implementation of AsciiDoc in Ruby +# Maintainer: Danny Rawlins, crux at romster dot me +# URL: https://asciidoctor.org/ +# Depends on: ruby + +name=asciidoctor +version=2.0.10 +release=1 +source=(https://github.com/$name/$name/archive/v$version/$name-v$version.tar.gz) + +build() { + cd $name-$version + + # Install the main asciidoctor scripts + install -D bin/asciidoctor $PKG/usr/bin/asciidoctor + + # Install libraries + install -D lib/asciidoctor.rb $PKG/usr/lib/ruby/vendor_ruby/asciidoctor.rb + cp -r lib/asciidoctor $PKG/usr/lib/ruby/vendor_ruby/asciidoctor + + # Install shared stylesheets + install -D \ + data/stylesheets/asciidoctor-default.css \ + $PKG/usr/lib/ruby/data/stylesheets/asciidoctor-default.css + install -D \ + data/stylesheets/coderay-asciidoctor.css \ + $PKG/usr/lib/ruby/data/stylesheets/coderay-asciidoctor.css + + # Compress and install the man page + gzip man/asciidoctor.1 + install -D man/asciidoctor.1.gz $PKG/usr/share/man/man1/asciidoctor.1.gz +} |