aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2015-05-26 03:54:50 +0800
committersunpoet <sunpoet@FreeBSD.org>2015-05-26 03:54:50 +0800
commitfb79cac4d52b44aaa313912d890cae88252cf388 (patch)
tree3785338ecdda7c5417c657e7d2f9a423cb7003e4 /graphics
parentcb26b6a9dbc5e6dd515c50ef99c06e07a0cc4347 (diff)
downloadfreebsd-ports-gnome-fb79cac4d52b44aaa313912d890cae88252cf388.tar.gz
freebsd-ports-gnome-fb79cac4d52b44aaa313912d890cae88252cf388.tar.zst
freebsd-ports-gnome-fb79cac4d52b44aaa313912d890cae88252cf388.zip
- Add LICENSE
- Fix gemspec for rubygem-pdfkit - Bump PORTREVISION for package change
Diffstat (limited to 'graphics')
-rw-r--r--graphics/rubygem-ezprint/Makefile4
-rw-r--r--graphics/rubygem-ezprint/files/patch-gemspec11
2 files changed, 14 insertions, 1 deletions
diff --git a/graphics/rubygem-ezprint/Makefile b/graphics/rubygem-ezprint/Makefile
index 86933f2e6cd4..806876215209 100644
--- a/graphics/rubygem-ezprint/Makefile
+++ b/graphics/rubygem-ezprint/Makefile
@@ -3,13 +3,15 @@
PORTNAME= ezprint
PORTVERSION= 1.0.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics rubygems
MASTER_SITES= RG
MAINTAINER= ruby@FreeBSD.org
COMMENT= Rails wrapper for the PDFKit library
+LICENSE= MIT
+
RUN_DEPENDS= rubygem-pdfkit>=0.5.0:${PORTSDIR}/graphics/rubygem-pdfkit
USE_RUBY= yes
diff --git a/graphics/rubygem-ezprint/files/patch-gemspec b/graphics/rubygem-ezprint/files/patch-gemspec
new file mode 100644
index 000000000000..7da661657f55
--- /dev/null
+++ b/graphics/rubygem-ezprint/files/patch-gemspec
@@ -0,0 +1,11 @@
+--- ezprint.gemspec.orig 2015-05-25 15:57:15 UTC
++++ ezprint.gemspec
+@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
+ s.specification_version = 3
+
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
+- s.add_runtime_dependency(%q<pdfkit>, ["~> 0.5.0"])
++ s.add_runtime_dependency(%q<pdfkit>, [">= 0.5.0"])
+ else
+ s.add_dependency(%q<pdfkit>, ["~> 0.5.0"])
+ end