summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/ruby-gnome2-gdk3/DESCR5
-rw-r--r--graphics/ruby-gnome2-gdk3/Makefile28
-rw-r--r--graphics/ruby-gnome2-gdk3/PLIST8
-rw-r--r--graphics/ruby-gnome2-gdk3/buildlink3.mk14
-rw-r--r--graphics/ruby-gnome2-gdkpixbuf/Makefile3
-rw-r--r--graphics/ruby-gnome2-goocanvas/Makefile3
-rw-r--r--graphics/ruby-gnome2-rsvg/Makefile3
7 files changed, 58 insertions, 6 deletions
diff --git a/graphics/ruby-gnome2-gdk3/DESCR b/graphics/ruby-gnome2-gdk3/DESCR
new file mode 100644
index 00000000000..4c910fcc275
--- /dev/null
+++ b/graphics/ruby-gnome2-gdk3/DESCR
@@ -0,0 +1,5 @@
+Ruby-GNOME 2 is a set of Ruby language bindings for the various
+application development libraries included with the GNOME/GTK+
+environment.
+
+Ruby/GDK3 is a Ruby binding of GDK3.
diff --git a/graphics/ruby-gnome2-gdk3/Makefile b/graphics/ruby-gnome2-gdk3/Makefile
new file mode 100644
index 00000000000..fc2458ee2e3
--- /dev/null
+++ b/graphics/ruby-gnome2-gdk3/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2013/02/07 13:41:55 obache Exp $
+#
+
+PKGNAME= ${RUBY_PKGPREFIX}-gnome2-gdk3-${VERSION}
+COMMENT= Ruby binding of GDK3
+CATEGORIES= graphics
+
+CONFLICTS+= ruby[0-9][0-9]-gnome2-gdk3-[0-9]*
+
+RUBY_EXTCONF_SUBDIRS= gdk3
+
+DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-atk>=${VERSION}:../../devel/ruby-gnome2-atk
+DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-gdkpixbuf>=${VERSION}:../../graphics/ruby-gnome2-gdkpixbuf
+
+RUBY_VERSION_SUPPORTED= 193
+
+do-test:
+ ${RUN} cd ${WRKSRC}/gtk2/test; ${SETENV} ${TEST_ENV} ${RUBY} run-test.rb
+
+BUILDLINK_API_DEPENDS.ruby-gnome2-glib+= ${RUBY_PKGPREFIX}-gnome2-glib>=${VERSION}
+.include "../../devel/ruby-gnome2-glib/buildlink3.mk"
+BUILDLINK_API_DEPENDS.ruby-gnome2-pango+= ${RUBY_PKGPREFIX}-gnome2-pango>=${VERSION}
+.include "../../devel/ruby-gnome2-pango/buildlink3.mk"
+.include "../../graphics/ruby-rcairo/buildlink3.mk"
+BUILDLINK_API_DEPENDS.gtk3+= gtk3+>=3.4.2
+.include "../../x11/gtk3/buildlink3.mk"
+.include "../../devel/ruby-pkg-config/tool.mk"
+.include "../../meta-pkgs/ruby-gnome2/Makefile.common"
diff --git a/graphics/ruby-gnome2-gdk3/PLIST b/graphics/ruby-gnome2-gdk3/PLIST
new file mode 100644
index 00000000000..6aca7f424b6
--- /dev/null
+++ b/graphics/ruby-gnome2-gdk3/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1 2013/02/07 13:41:55 obache Exp $
+lib/pkgconfig/ruby-gdk3.pc
+${RUBY_VENDORLIB}/gdk3.rb
+${RUBY_VENDORLIB}/gdk3/base.rb
+${RUBY_VENDORLIB}/gdk3/deprecated.rb
+${RUBY_VENDORARCHLIB}/gdk3.${RUBY_DLEXT}
+${RUBY_VENDORARCHLIB}/rbgdk3.h
+${RUBY_VENDORARCHLIB}/rbgdk3conversions.h
diff --git a/graphics/ruby-gnome2-gdk3/buildlink3.mk b/graphics/ruby-gnome2-gdk3/buildlink3.mk
new file mode 100644
index 00000000000..10a5508d1a9
--- /dev/null
+++ b/graphics/ruby-gnome2-gdk3/buildlink3.mk
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2013/02/07 13:41:55 obache Exp $
+
+BUILDLINK_TREE+= ruby-gnome2-gdk3
+
+.if !defined(RUBY_GNOME2_GDK3_BUILDLINK3_MK)
+RUBY_GNOME2_GDK3_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ruby-gnome2-gdk3+= ${RUBY_PKGPREFIX}-gnome2-gtk3>=2.0.0
+BUILDLINK_PKGSRCDIR.ruby-gnome2-gdk3?= ../../graphics/ruby-gnome2-gdk3
+
+.include "../../x11/gtk3/buildlink3.mk"
+.endif # RUBY_GNOME2_GDK3_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -ruby-gnome2-gdk3
diff --git a/graphics/ruby-gnome2-gdkpixbuf/Makefile b/graphics/ruby-gnome2-gdkpixbuf/Makefile
index 9fba2f9f850..556d63f6561 100644
--- a/graphics/ruby-gnome2-gdkpixbuf/Makefile
+++ b/graphics/ruby-gnome2-gdkpixbuf/Makefile
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.30 2012/10/06 14:11:20 asau Exp $
+# $NetBSD: Makefile,v 1.31 2013/02/07 13:41:56 obache Exp $
#
PKGNAME= ${RUBY_PKGPREFIX}-gnome2-gdkpixbuf-${VERSION}
COMMENT= Ruby binding of GdkPixbuf-2.x
-PKGREVISION= 1
CATEGORIES= graphics devel
CONFLICTS+= ruby-gnome2-gdkpixbuf-[0-9]*
diff --git a/graphics/ruby-gnome2-goocanvas/Makefile b/graphics/ruby-gnome2-goocanvas/Makefile
index c6218fb2f9c..d473319d0cd 100644
--- a/graphics/ruby-gnome2-goocanvas/Makefile
+++ b/graphics/ruby-gnome2-goocanvas/Makefile
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.25 2012/10/08 23:01:49 adam Exp $
+# $NetBSD: Makefile,v 1.26 2013/02/07 13:41:56 obache Exp $
#
PKGNAME= ${RUBY_PKGPREFIX}-gnome2-goocanvas-${VERSION}
COMMENT= Ruby binding of GooCanvas
-PKGREVISION= 4
CATEGORIES= graphics gnome
CONFLICTS+= ruby[0-9][0-9]-gnome2-goocanvas-[0-9]*
diff --git a/graphics/ruby-gnome2-rsvg/Makefile b/graphics/ruby-gnome2-rsvg/Makefile
index 20045c439ea..260b5358dbc 100644
--- a/graphics/ruby-gnome2-rsvg/Makefile
+++ b/graphics/ruby-gnome2-rsvg/Makefile
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.38 2012/10/08 23:01:49 adam Exp $
+# $NetBSD: Makefile,v 1.39 2013/02/07 13:41:56 obache Exp $
#
PKGNAME= ${RUBY_PKGPREFIX}-gnome2-rsvg-${VERSION}
COMMENT= Ruby binding of librsvg
-PKGREVISION= 4
CATEGORIES= graphics
CONFLICTS+= ruby[0-9][0-9]-gnome2-rsvg-[0-9]*