diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2020-12-10 21:29:50 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2020-12-10 21:29:50 +0000 |
commit | 172dccf4d239e04e34fdb66a78cfcb81166e9300 (patch) | |
tree | 06139e620668f9422f2cb8ddba2803dfc5999c47 /textproc/rubygem-asciidoctor-pdf | |
parent | d20e85c681425a33bf3a126242ae889f1a66c09f (diff) | |
download | ports-172dccf4d239e04e34fdb66a78cfcb81166e9300.tar.gz ports-172dccf4d239e04e34fdb66a78cfcb81166e9300.zip |
Add rubygem-asciidoctor-pdf 1.5.3
Asciidoctor PDF is a native PDF converter for AsciiDoc. It bypasses the
requirement to generate an intermediary format such as DocBook, Apache FO, or
LaTeX. Instead, you can use this extension to convert your documents directly
from AsciiDoc to PDF. Its aim is to take the pain out of creating PDF documents
from AsciiDoc.
WWW: https://github.com/asciidoctor/asciidoctor-pdf
Notes
Notes:
svn path=/head/; revision=557481
Diffstat (limited to 'textproc/rubygem-asciidoctor-pdf')
-rw-r--r-- | textproc/rubygem-asciidoctor-pdf/Makefile | 35 | ||||
-rw-r--r-- | textproc/rubygem-asciidoctor-pdf/distinfo | 3 | ||||
-rw-r--r-- | textproc/rubygem-asciidoctor-pdf/files/patch-gemspec | 13 | ||||
-rw-r--r-- | textproc/rubygem-asciidoctor-pdf/pkg-descr | 7 |
4 files changed, 58 insertions, 0 deletions
diff --git a/textproc/rubygem-asciidoctor-pdf/Makefile b/textproc/rubygem-asciidoctor-pdf/Makefile new file mode 100644 index 000000000000..8192cb67b0e1 --- /dev/null +++ b/textproc/rubygem-asciidoctor-pdf/Makefile @@ -0,0 +1,35 @@ +# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= asciidoctor-pdf +PORTVERSION= 1.5.3 +CATEGORIES= textproc rubygems +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Convert AsciiDoc documents to PDF + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.adoc + +RUN_DEPENDS= rubygem-asciidoctor>=1.5.3<3.0.0:textproc/rubygem-asciidoctor \ + rubygem-concurrent-ruby>=1.1.0<1.2:devel/rubygem-concurrent-ruby \ + rubygem-prawn>=2.2.0<2.3:print/rubygem-prawn \ + rubygem-prawn-icon>=2.5.0:print/rubygem-prawn-icon \ + rubygem-prawn-svg>=0.30.0<1:print/rubygem-prawn-svg \ + rubygem-prawn-table>=0.2.0<0.3:print/rubygem-prawn-table \ + rubygem-prawn-templates>=0.1.0<0.2:print/rubygem-prawn-templates \ + rubygem-safe_yaml>=1.0.0<1.1:devel/rubygem-safe_yaml \ + rubygem-thread_safe>=0.3.0<0.4:devel/rubygem-thread_safe \ + rubygem-treetop>=1.6.0<1.7:devel/rubygem-treetop \ + rubygem-ttfunk>=1.5.1<1.6:print/rubygem-ttfunk + +USES= gem +USE_RUBY= yes + +NO_ARCH= yes + +PLIST_FILES= bin/asciidoctor-pdf \ + bin/asciidoctor-pdf-optimize + +.include <bsd.port.mk> diff --git a/textproc/rubygem-asciidoctor-pdf/distinfo b/textproc/rubygem-asciidoctor-pdf/distinfo new file mode 100644 index 000000000000..793561824870 --- /dev/null +++ b/textproc/rubygem-asciidoctor-pdf/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1607539649 +SHA256 (rubygem/asciidoctor-pdf-1.5.3.gem) = 3e70d0e513f4d631a4b667fed634700d93b104e0d3b4c33f993979df6a67d3f1 +SIZE (rubygem/asciidoctor-pdf-1.5.3.gem) = 1931776 diff --git a/textproc/rubygem-asciidoctor-pdf/files/patch-gemspec b/textproc/rubygem-asciidoctor-pdf/files/patch-gemspec new file mode 100644 index 000000000000..06aec85cb07c --- /dev/null +++ b/textproc/rubygem-asciidoctor-pdf/files/patch-gemspec @@ -0,0 +1,13 @@ +--- asciidoctor-pdf.gemspec.orig 2020-12-10 20:30:01 UTC ++++ asciidoctor-pdf.gemspec +@@ -28,8 +28,8 @@ Gem::Specification.new do |s| + s.add_runtime_dependency(%q<ttfunk>.freeze, ["~> 1.5.0", ">= 1.5.1"]) + s.add_runtime_dependency(%q<prawn-table>.freeze, ["~> 0.2.0"]) + s.add_runtime_dependency(%q<prawn-templates>.freeze, ["~> 0.1.0"]) +- s.add_runtime_dependency(%q<prawn-svg>.freeze, ["~> 0.30.0"]) +- s.add_runtime_dependency(%q<prawn-icon>.freeze, ["~> 2.5.0"]) ++ s.add_runtime_dependency(%q<prawn-svg>.freeze, ["~> 0.30"]) ++ s.add_runtime_dependency(%q<prawn-icon>.freeze, [">= 2.5.0"]) + s.add_runtime_dependency(%q<safe_yaml>.freeze, ["~> 1.0.0"]) + s.add_runtime_dependency(%q<thread_safe>.freeze, ["~> 0.3.0"]) + s.add_runtime_dependency(%q<concurrent-ruby>.freeze, ["~> 1.1.0"]) diff --git a/textproc/rubygem-asciidoctor-pdf/pkg-descr b/textproc/rubygem-asciidoctor-pdf/pkg-descr new file mode 100644 index 000000000000..7c8c35804312 --- /dev/null +++ b/textproc/rubygem-asciidoctor-pdf/pkg-descr @@ -0,0 +1,7 @@ +Asciidoctor PDF is a native PDF converter for AsciiDoc. It bypasses the +requirement to generate an intermediary format such as DocBook, Apache FO, or +LaTeX. Instead, you can use this extension to convert your documents directly +from AsciiDoc to PDF. Its aim is to take the pain out of creating PDF documents +from AsciiDoc. + +WWW: https://github.com/asciidoctor/asciidoctor-pdf |