aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
Diffstat (limited to 'print')
-rw-r--r--print/rubygem-prawn/Makefile1
-rw-r--r--print/rubygem-prawn/files/patch-gemspec11
2 files changed, 12 insertions, 0 deletions
diff --git a/print/rubygem-prawn/Makefile b/print/rubygem-prawn/Makefile
index d11ccca2ad93..bc897d5b27e3 100644
--- a/print/rubygem-prawn/Makefile
+++ b/print/rubygem-prawn/Makefile
@@ -3,6 +3,7 @@
PORTNAME= prawn
PORTVERSION= 2.1.0
+PORTREVISION= 1
CATEGORIES= print rubygems
MASTER_SITES= RG
diff --git a/print/rubygem-prawn/files/patch-gemspec b/print/rubygem-prawn/files/patch-gemspec
new file mode 100644
index 000000000000..dc322b1eaed1
--- /dev/null
+++ b/print/rubygem-prawn/files/patch-gemspec
@@ -0,0 +1,11 @@
+--- prawn.gemspec.orig 2017-02-14 12:28:43 UTC
++++ prawn.gemspec
+@@ -24,7 +24,7 @@ Gem::Specification.new do |s|
+ s.specification_version = 4
+
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
+- s.add_runtime_dependency(%q<ttfunk>.freeze, ["~> 1.4.0"])
++ s.add_runtime_dependency(%q<ttfunk>.freeze, [">= 1.4.0"])
+ s.add_runtime_dependency(%q<pdf-core>.freeze, ["~> 0.6.1"])
+ s.add_development_dependency(%q<pdf-inspector>.freeze, ["~> 1.2.1"])
+ s.add_development_dependency(%q<yard>.freeze, [">= 0"])