aboutsummaryrefslogtreecommitdiff
path: root/games/rubygem-lolcat
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-02-13 17:03:30 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-02-13 17:03:30 +0000
commitb2713f97a299f8c3bf502eb46bb3caeb609cce9f (patch)
tree4522ff491ed1fbf41d4095140e0cf57c0e080801 /games/rubygem-lolcat
parentbc2391efcd5436d7def9618d55d5444dcdfd8385 (diff)
downloadports-b2713f97a299f8c3bf502eb46bb3caeb609cce9f.tar.gz
ports-b2713f97a299f8c3bf502eb46bb3caeb609cce9f.zip
Notes
Diffstat (limited to 'games/rubygem-lolcat')
-rw-r--r--games/rubygem-lolcat/Makefile21
-rw-r--r--games/rubygem-lolcat/distinfo2
-rw-r--r--games/rubygem-lolcat/files/patch-gemspec11
-rw-r--r--games/rubygem-lolcat/pkg-descr3
4 files changed, 37 insertions, 0 deletions
diff --git a/games/rubygem-lolcat/Makefile b/games/rubygem-lolcat/Makefile
new file mode 100644
index 000000000000..a4301c205ee3
--- /dev/null
+++ b/games/rubygem-lolcat/Makefile
@@ -0,0 +1,21 @@
+# $FreeBSD$
+
+PORTNAME= lolcat
+PORTVERSION= 42.0.99
+PORTREVISION= 4
+CATEGORIES= games
+MASTER_SITES= RG
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Rainbows and unicorns
+
+RUN_DEPENDS= rubygem-trollop1>=1.9:devel/rubygem-trollop1 \
+ rubygem-paint>=0.8.5:devel/rubygem-paint
+
+NO_ARCH= yes
+USE_RUBY= yes
+USES= gem
+
+PLIST_FILES= bin/lolcat
+
+.include <bsd.port.mk>
diff --git a/games/rubygem-lolcat/distinfo b/games/rubygem-lolcat/distinfo
new file mode 100644
index 000000000000..b3d5323ee644
--- /dev/null
+++ b/games/rubygem-lolcat/distinfo
@@ -0,0 +1,2 @@
+SHA256 (rubygem/lolcat-42.0.99.gem) = cafd788a6b3e0177a20a9e44dfbb144ea0b6b62c9c9fb413c5223778cdd92558
+SIZE (rubygem/lolcat-42.0.99.gem) = 204288
diff --git a/games/rubygem-lolcat/files/patch-gemspec b/games/rubygem-lolcat/files/patch-gemspec
new file mode 100644
index 000000000000..c0270614db57
--- /dev/null
+++ b/games/rubygem-lolcat/files/patch-gemspec
@@ -0,0 +1,11 @@
+--- lolcat.gemspec.orig 2016-03-31 18:34:16 UTC
++++ lolcat.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<paint>.freeze, ["~> 0.8.3"])
++ s.add_runtime_dependency(%q<paint>.freeze, [">= 0.8.3"])
+ s.add_runtime_dependency(%q<trollop>.freeze, ["~> 1.16.2"])
+ else
+ s.add_dependency(%q<paint>.freeze, ["~> 0.8.3"])
diff --git a/games/rubygem-lolcat/pkg-descr b/games/rubygem-lolcat/pkg-descr
new file mode 100644
index 000000000000..8d30ef06f761
--- /dev/null
+++ b/games/rubygem-lolcat/pkg-descr
@@ -0,0 +1,3 @@
+Rainbows and unicorns!
+
+WWW: https://github.com/busyloop/lolcat