diff --git a/textproc/rubygem-asciidoctor-pdf/Makefile b/textproc/rubygem-asciidoctor-pdf/Makefile index db7da37051e4..a68dd092a0b6 100644 --- a/textproc/rubygem-asciidoctor-pdf/Makefile +++ b/textproc/rubygem-asciidoctor-pdf/Makefile @@ -1,31 +1,31 @@ PORTNAME= asciidoctor-pdf -PORTVERSION= 2.3.10 -PORTREVISION= 1 +PORTVERSION= 2.3.13 CATEGORIES= textproc rubygems MASTER_SITES= RG MAINTAINER= sunpoet@FreeBSD.org COMMENT= Convert AsciiDoc documents to PDF -WWW= https://github.com/asciidoctor/asciidoctor-pdf +WWW= https://docs.asciidoctor.org/pdf-converter/latest/ \ + https://github.com/asciidoctor/asciidoctor-pdf LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= rubygem-asciidoctor>=2.0<3:textproc/rubygem-asciidoctor \ rubygem-concurrent-ruby>=1.1<2:devel/rubygem-concurrent-ruby \ rubygem-matrix>=0.4<1:math/rubygem-matrix \ rubygem-prawn>=2.4.0<2.5:print/rubygem-prawn \ rubygem-prawn-icon>=3.1.0<3.2:print/rubygem-prawn-icon \ - rubygem-prawn-svg>=0.31.0<1:print/rubygem-prawn-svg \ + rubygem-prawn-svg>=0.34.0<0.35: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-treetop>=1.6.0<1.7:devel/rubygem-treetop USES= gem NO_ARCH= yes PLIST_FILES= bin/asciidoctor-pdf \ bin/asciidoctor-pdf-optimize .include diff --git a/textproc/rubygem-asciidoctor-pdf/distinfo b/textproc/rubygem-asciidoctor-pdf/distinfo index cfb5df5f1c45..95ca5def6527 100644 --- a/textproc/rubygem-asciidoctor-pdf/distinfo +++ b/textproc/rubygem-asciidoctor-pdf/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1702028288 -SHA256 (rubygem/asciidoctor-pdf-2.3.10.gem) = b19076f05e92fbe7cf258575a64781628f285bf8b0d4cce6cb1c4df467694ae2 -SIZE (rubygem/asciidoctor-pdf-2.3.10.gem) = 2271232 +TIMESTAMP = 1708450578 +SHA256 (rubygem/asciidoctor-pdf-2.3.13.gem) = fa03c42e317060b0492005b77665c376d36d75e50859a51fc21b7f85d1030e77 +SIZE (rubygem/asciidoctor-pdf-2.3.13.gem) = 2275328 diff --git a/textproc/rubygem-asciidoctor-pdf/files/patch-gemspec b/textproc/rubygem-asciidoctor-pdf/files/patch-gemspec new file mode 100644 index 000000000000..ba6fed24f1d0 --- /dev/null +++ b/textproc/rubygem-asciidoctor-pdf/files/patch-gemspec @@ -0,0 +1,11 @@ +--- asciidoctor-pdf.gemspec.orig 2024-02-17 20:19:33 UTC ++++ asciidoctor-pdf.gemspec +@@ -26,7 +26,7 @@ Gem::Specification.new do |s| + s.add_runtime_dependency(%q.freeze, ["~> 0.4"]) + s.add_runtime_dependency(%q.freeze, ["~> 0.2.0"]) + s.add_runtime_dependency(%q.freeze, ["~> 0.1.0"]) +- s.add_runtime_dependency(%q.freeze, ["~> 0.33.0"]) ++ s.add_runtime_dependency(%q.freeze, ["~> 0.34.0"]) + s.add_runtime_dependency(%q.freeze, ["~> 3.0.0"]) + s.add_runtime_dependency(%q.freeze, ["~> 1.1"]) + s.add_runtime_dependency(%q.freeze, ["~> 1.6.0"]) diff --git a/textproc/rubygem-asciidoctor-pdf/files/patch-asciidoctor-pdf.gemspec b/textproc/rubygem-asciidoctor-pdf/files/patch-prawn-icon similarity index 60% rename from textproc/rubygem-asciidoctor-pdf/files/patch-asciidoctor-pdf.gemspec rename to textproc/rubygem-asciidoctor-pdf/files/patch-prawn-icon index 9e7d617575c8..7965b8ca4cf8 100644 --- a/textproc/rubygem-asciidoctor-pdf/files/patch-asciidoctor-pdf.gemspec +++ b/textproc/rubygem-asciidoctor-pdf/files/patch-prawn-icon @@ -1,29 +1,24 @@ -Obtained from: -https://github.com/asciidoctor/asciidoctor-pdf/commit/631606e91f487e797e73c15467979b0b63c5ff68 -https://github.com/asciidoctor/asciidoctor-pdf/commit/cd71092a5c5c86b9770359a0f1bd7c60b9dce7ea +Obtained from: https://github.com/asciidoctor/asciidoctor-pdf/commit/631606e91f487e797e73c15467979b0b63c5ff68 - ---- asciidoctor-pdf.gemspec.orig 2023-12-27 02:32:44 UTC +--- asciidoctor-pdf.gemspec.orig 2023-01-06 06:23:58 UTC +++ asciidoctor-pdf.gemspec -@@ -26,8 +26,8 @@ Gem::Specification.new do |s| - s.add_runtime_dependency(%q.freeze, ["~> 0.4"]) +@@ -27,7 +27,7 @@ Gem::Specification.new do |s| s.add_runtime_dependency(%q.freeze, ["~> 0.2.0"]) s.add_runtime_dependency(%q.freeze, ["~> 0.1.0"]) -- s.add_runtime_dependency(%q.freeze, ["~> 0.32.0"]) + s.add_runtime_dependency(%q.freeze, ["~> 0.34.0"]) - s.add_runtime_dependency(%q.freeze, ["~> 3.0.0"]) -+ s.add_runtime_dependency(%q.freeze, ["~> 0.33.0"]) + s.add_runtime_dependency(%q.freeze, ["~> 3.1.0"]) s.add_runtime_dependency(%q.freeze, ["~> 1.1"]) s.add_runtime_dependency(%q.freeze, ["~> 1.6.0"]) s.add_development_dependency(%q.freeze, ["~> 13.0.0"]) ---- lib/asciidoctor/pdf/ext/prawn/extensions.rb.orig 2023-12-27 02:32:43 UTC +--- lib/asciidoctor/pdf/ext/prawn/extensions.rb.orig 2023-01-06 06:23:58 UTC +++ lib/asciidoctor/pdf/ext/prawn/extensions.rb @@ -16,7 +16,7 @@ module Asciidoctor ColumnBox = ::Prawn::Document::ColumnBox FontAwesomeIconSets = %w(fab far fas) - IconSets = %w(fab far fas fi pf).to_set + IconSets = %w(fab far fas fi pf mdi).to_set IconSetPrefixes = IconSets.map {|it| it + '-' } InitialPageContent = %(q\n) (FontStyleToSet = {