aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-12-21 20:27:02 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-12-21 20:29:20 +0000
commitee4e1a8ab5706ddfe63c294d1780e3f54fab5f65 (patch)
treeb83a368dd8a9970051ee21a353960f201c371237 /x11-toolkits
parentba1613a3fc0c0666e19214fcf70166bf28cf3912 (diff)
downloadports-ee4e1a8ab5706ddfe63c294d1780e3f54fab5f65.tar.gz
ports-ee4e1a8ab5706ddfe63c294d1780e3f54fab5f65.zip
x11-toolkits/rubygem-gtk2: Readd x11-toolkits/rubygem-gtk2
It is still used by some ports (japanese/gedy, japanese/gsuica, net-im/mikutter). Reported by: antoine
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/Makefile1
-rw-r--r--x11-toolkits/rubygem-gtk2/Makefile20
-rw-r--r--x11-toolkits/rubygem-gtk2/distinfo3
-rw-r--r--x11-toolkits/rubygem-gtk2/files/patch-ext_gtk2_extconf.rb10
-rw-r--r--x11-toolkits/rubygem-gtk2/pkg-descr3
5 files changed, 37 insertions, 0 deletions
diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile
index ee4f4c6eba84..bc8b1969ef64 100644
--- a/x11-toolkits/Makefile
+++ b/x11-toolkits/Makefile
@@ -186,6 +186,7 @@
SUBDIR += rep-gtk2
SUBDIR += rubygem-gdk3
SUBDIR += rubygem-gdk4
+ SUBDIR += rubygem-gtk2
SUBDIR += rubygem-gtk3
SUBDIR += rubygem-gtk4
SUBDIR += rubygem-gtksourceview3
diff --git a/x11-toolkits/rubygem-gtk2/Makefile b/x11-toolkits/rubygem-gtk2/Makefile
new file mode 100644
index 000000000000..e7ba2fe3a580
--- /dev/null
+++ b/x11-toolkits/rubygem-gtk2/Makefile
@@ -0,0 +1,20 @@
+PORTNAME= gtk2
+PORTVERSION= 3.4.3
+CATEGORIES= x11-toolkits rubygems
+MASTER_SITES= RG
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Ruby binding of GTK+ 2.x
+
+LICENSE= LGPL21+
+LICENSE_FILE= ${WRKSRC}/COPYING.LIB
+
+RUN_DEPENDS= rubygem-atk>=${PORTVERSION}:accessibility/rubygem-atk \
+ rubygem-gdk_pixbuf2>=${PORTVERSION}:graphics/rubygem-gdk_pixbuf2 \
+ rubygem-pango>=${PORTVERSION}:x11-toolkits/rubygem-pango
+
+USES= gem gnome
+USE_GNOME= gtk20
+USE_RUBY= yes
+
+.include <bsd.port.mk>
diff --git a/x11-toolkits/rubygem-gtk2/distinfo b/x11-toolkits/rubygem-gtk2/distinfo
new file mode 100644
index 000000000000..abde180f7ad9
--- /dev/null
+++ b/x11-toolkits/rubygem-gtk2/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1589305286
+SHA256 (rubygem/gtk2-3.4.3.gem) = dfb18826fe1737cbc00ef641abe0f7c77f3646d14775e541d54a949ba3792a6c
+SIZE (rubygem/gtk2-3.4.3.gem) = 476160
diff --git a/x11-toolkits/rubygem-gtk2/files/patch-ext_gtk2_extconf.rb b/x11-toolkits/rubygem-gtk2/files/patch-ext_gtk2_extconf.rb
new file mode 100644
index 000000000000..9b73d1ade4cb
--- /dev/null
+++ b/x11-toolkits/rubygem-gtk2/files/patch-ext_gtk2_extconf.rb
@@ -0,0 +1,10 @@
+--- ext/gtk2/extconf.rb.orig 2018-04-11 14:13:44 UTC
++++ ext/gtk2/extconf.rb
+@@ -34,6 +34,7 @@ end
+ have_func("rb_errinfo")
+
+ [
++ "cairo",
+ "glib2",
+ "atk",
+ "pango",
diff --git a/x11-toolkits/rubygem-gtk2/pkg-descr b/x11-toolkits/rubygem-gtk2/pkg-descr
new file mode 100644
index 000000000000..b211c7b3e35e
--- /dev/null
+++ b/x11-toolkits/rubygem-gtk2/pkg-descr
@@ -0,0 +1,3 @@
+Ruby/GTK2 is a Ruby binding for GTK+2.
+
+WWW: https://ruby-gnome2.osdn.jp/