diff --git a/print/rubygem-ttfunk/Makefile b/print/rubygem-ttfunk/Makefile index 439eac1c7fd7..1e059b4cfe4a 100644 --- a/print/rubygem-ttfunk/Makefile +++ b/print/rubygem-ttfunk/Makefile @@ -1,22 +1,23 @@ PORTNAME= ttfunk PORTVERSION= 1.8.0 +PORTREVISION= 1 CATEGORIES= print rubygems MASTER_SITES= RG MAINTAINER= sunpoet@FreeBSD.org COMMENT= Font Metrics Parser for the Prawn PDF generator WWW= https://github.com/prawnpdf/ttfunk LICENSE= RUBY GPLv2 GPLv3 LICENSE_COMB= dual LICENSE_FILE_GPLv2= ${WRKSRC}/GPLv2 LICENSE_FILE_GPLv3= ${WRKSRC}/GPLv3 LICENSE_FILE_RUBY= ${WRKSRC}/LICENSE -RUN_DEPENDS= rubygem-bigdecimal>=3.1<4:math/rubygem-bigdecimal +RUN_DEPENDS= rubygem-bigdecimal>=3.1<5:math/rubygem-bigdecimal USES= gem NO_ARCH= yes .include diff --git a/print/rubygem-ttfunk/files/patch-gemspec b/print/rubygem-ttfunk/files/patch-gemspec new file mode 100644 index 000000000000..8b69a5fd27e0 --- /dev/null +++ b/print/rubygem-ttfunk/files/patch-gemspec @@ -0,0 +1,11 @@ +--- ttfunk.gemspec.orig 2025-12-29 04:22:42 UTC ++++ ttfunk.gemspec +@@ -22,7 +22,7 @@ Gem::Specification.new do |s| + + s.specification_version = 4 + +- s.add_runtime_dependency(%q.freeze, ["~> 3.1".freeze]) ++ s.add_runtime_dependency(%q.freeze, [">= 3.1".freeze, "< 5".freeze]) + s.add_development_dependency(%q.freeze, ["~> 0.4.0".freeze]) + end +