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
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2020-12-10 21:29:50 +00:00
parent d20e85c681
commit 172dccf4d2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=557481
5 changed files with 59 additions and 0 deletions

View File

@ -1508,6 +1508,7 @@
SUBDIR += rubygem-asciidoctor
SUBDIR += rubygem-asciidoctor-diagram
SUBDIR += rubygem-asciidoctor-include-ext
SUBDIR += rubygem-asciidoctor-pdf
SUBDIR += rubygem-asciidoctor-plantuml
SUBDIR += rubygem-asciidoctor-plantuml0010
SUBDIR += rubygem-autoprefixer-rails

View File

@ -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>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1607539649
SHA256 (rubygem/asciidoctor-pdf-1.5.3.gem) = 3e70d0e513f4d631a4b667fed634700d93b104e0d3b4c33f993979df6a67d3f1
SIZE (rubygem/asciidoctor-pdf-1.5.3.gem) = 1931776

View File

@ -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"])

View File

@ -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