summaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorcpiazza <cpiazza@FreeBSD.org>1999-08-26 21:22:50 +0000
committercpiazza <cpiazza@FreeBSD.org>1999-08-26 21:22:50 +0000
commit2a96c88297187323be5b83710ede69cae5fd5a3b (patch)
treea9595a048855e8ce1b5983623089093ae2ca5666 /x11-toolkits
parent642bb4d7aabda24f5b34da03397b4c73b5930691 (diff)
downloadFreeBSD-ports-2a96c88297187323be5b83710ede69cae5fd5a3b.zip
FreeBSD-ports-2a96c88297187323be5b83710ede69cae5fd5a3b.tar.gz
Impot of ruby-gtk.
Ruby-gtk is simply a ruby extension module to use Gtk+. PR: 13308 Submitted by: Yasuhiro Fukuma <yasuf@big.or.jp>
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/ruby-gtk/Makefile44
-rw-r--r--x11-toolkits/ruby-gtk/distinfo1
-rw-r--r--x11-toolkits/ruby-gtk/pkg-comment1
-rw-r--r--x11-toolkits/ruby-gtk/pkg-descr6
-rw-r--r--x11-toolkits/ruby-gtk/pkg-plist11
-rw-r--r--x11-toolkits/ruby-gtk2/Makefile44
-rw-r--r--x11-toolkits/ruby-gtk2/distinfo1
-rw-r--r--x11-toolkits/ruby-gtk2/pkg-comment1
-rw-r--r--x11-toolkits/ruby-gtk2/pkg-descr6
-rw-r--r--x11-toolkits/ruby-gtk2/pkg-plist11
10 files changed, 126 insertions, 0 deletions
diff --git a/x11-toolkits/ruby-gtk/Makefile b/x11-toolkits/ruby-gtk/Makefile
new file mode 100644
index 0000000..b01972a
--- /dev/null
+++ b/x11-toolkits/ruby-gtk/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: ruby-gtk
+# Version required: 0.20
+# Date created: 19 April 1999
+# Whom: Yasuhiro Fukuma <yasuf@big.or.jp>
+#
+# $Id$
+#
+
+DISTNAME= ruby-gtk-0.20
+CATEGORIES= x11-toolkits
+MASTER_SITES= http://www.ueda.info.waseda.ac.jp/~igarashi/ruby/ \
+ ftp://ftp.netlab.co.jp/pub/lang/ruby/contrib/ \
+ ftp://ftp.TokyoNet.AD.JP/pub/misc/ruby/contrib/ \
+ ftp://ftp.iij.ad.jp/pub/lang/ruby/contrib/ \
+ ftp://blade.nagaokaut.ac.jp/pub/lang/ruby/contrib/ \
+ ftp://ftp.krnet.ne.jp/pub/ruby/contrib/ \
+ ftp://mirror.nucba.ac.jp/mirror/ruby/contrib/
+
+MAINTAINER= yasuf@big.or.jp
+
+BUILD_DEPENDS= ruby:${PORTSDIR}/lang/ruby
+RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby
+LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
+
+USE_XLIB= yes
+WRKSRC= ${WRKDIR}/gtk
+PLIST_SUB+= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
+
+RUBY= ${PREFIX}/bin/ruby
+RUBY_VER= 1.4
+RUBY_ARCH= ${ARCH}-freebsd${OSREL}
+
+GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
+
+do-configure:
+ @cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${RUBY} extconf.rb ${GTK_CONFIG}
+
+post-install:
+ ${MKDIR} ${PREFIX}/share/examples/ruby/gtk
+ ${INSTALL_DATA} ${WRKSRC}/sample/*.rb ${PREFIX}/share/examples/ruby/gtk
+ ${MKDIR} ${PREFIX}/share/examples/ruby/gtk/browser
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.rb ${PREFIX}/share/examples/ruby/gtk/browser
+
+.include <bsd.port.mk>
diff --git a/x11-toolkits/ruby-gtk/distinfo b/x11-toolkits/ruby-gtk/distinfo
new file mode 100644
index 0000000..e6ded35
--- /dev/null
+++ b/x11-toolkits/ruby-gtk/distinfo
@@ -0,0 +1 @@
+MD5 (ruby-gtk-0.20.tar.gz) = f1baf7fd43dde9ab44cb4e783c8d431c
diff --git a/x11-toolkits/ruby-gtk/pkg-comment b/x11-toolkits/ruby-gtk/pkg-comment
new file mode 100644
index 0000000..8bdf18e
--- /dev/null
+++ b/x11-toolkits/ruby-gtk/pkg-comment
@@ -0,0 +1 @@
+a Ruby interface to Gtk+ toolkits.
diff --git a/x11-toolkits/ruby-gtk/pkg-descr b/x11-toolkits/ruby-gtk/pkg-descr
new file mode 100644
index 0000000..61d97de
--- /dev/null
+++ b/x11-toolkits/ruby-gtk/pkg-descr
@@ -0,0 +1,6 @@
+Ruby extension module to use Gtk+.
+
+WWW: http://www.ueda.info.waseda.ac.jp/~igarashi/ruby/gtk.html
+
+- Yasuhiro Fukuma
+yasuf@big.or.jp
diff --git a/x11-toolkits/ruby-gtk/pkg-plist b/x11-toolkits/ruby-gtk/pkg-plist
new file mode 100644
index 0000000..d4ac46a
--- /dev/null
+++ b/x11-toolkits/ruby-gtk/pkg-plist
@@ -0,0 +1,11 @@
+lib/ruby/%%RUBY_VER%%/%%RUBY_ARCH%%/gtk.so
+share/examples/ruby/gtk/drawing.rb
+share/examples/ruby/gtk/helloworld.rb
+share/examples/ruby/gtk/text.rb
+share/examples/ruby/gtk/texthook.rb
+share/examples/ruby/gtk/browser/gtkbrows.rb
+share/examples/ruby/gtk/browser/rbbr_gtk.rb
+share/examples/ruby/gtk/browser/rbbr_rb.rb
+share/examples/ruby/gtk/browser/rbdump.rb
+@dirrm share/examples/ruby/gtk/browser
+@dirrm share/examples/ruby/gtk
diff --git a/x11-toolkits/ruby-gtk2/Makefile b/x11-toolkits/ruby-gtk2/Makefile
new file mode 100644
index 0000000..b01972a
--- /dev/null
+++ b/x11-toolkits/ruby-gtk2/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: ruby-gtk
+# Version required: 0.20
+# Date created: 19 April 1999
+# Whom: Yasuhiro Fukuma <yasuf@big.or.jp>
+#
+# $Id$
+#
+
+DISTNAME= ruby-gtk-0.20
+CATEGORIES= x11-toolkits
+MASTER_SITES= http://www.ueda.info.waseda.ac.jp/~igarashi/ruby/ \
+ ftp://ftp.netlab.co.jp/pub/lang/ruby/contrib/ \
+ ftp://ftp.TokyoNet.AD.JP/pub/misc/ruby/contrib/ \
+ ftp://ftp.iij.ad.jp/pub/lang/ruby/contrib/ \
+ ftp://blade.nagaokaut.ac.jp/pub/lang/ruby/contrib/ \
+ ftp://ftp.krnet.ne.jp/pub/ruby/contrib/ \
+ ftp://mirror.nucba.ac.jp/mirror/ruby/contrib/
+
+MAINTAINER= yasuf@big.or.jp
+
+BUILD_DEPENDS= ruby:${PORTSDIR}/lang/ruby
+RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby
+LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
+
+USE_XLIB= yes
+WRKSRC= ${WRKDIR}/gtk
+PLIST_SUB+= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
+
+RUBY= ${PREFIX}/bin/ruby
+RUBY_VER= 1.4
+RUBY_ARCH= ${ARCH}-freebsd${OSREL}
+
+GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
+
+do-configure:
+ @cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${RUBY} extconf.rb ${GTK_CONFIG}
+
+post-install:
+ ${MKDIR} ${PREFIX}/share/examples/ruby/gtk
+ ${INSTALL_DATA} ${WRKSRC}/sample/*.rb ${PREFIX}/share/examples/ruby/gtk
+ ${MKDIR} ${PREFIX}/share/examples/ruby/gtk/browser
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.rb ${PREFIX}/share/examples/ruby/gtk/browser
+
+.include <bsd.port.mk>
diff --git a/x11-toolkits/ruby-gtk2/distinfo b/x11-toolkits/ruby-gtk2/distinfo
new file mode 100644
index 0000000..e6ded35
--- /dev/null
+++ b/x11-toolkits/ruby-gtk2/distinfo
@@ -0,0 +1 @@
+MD5 (ruby-gtk-0.20.tar.gz) = f1baf7fd43dde9ab44cb4e783c8d431c
diff --git a/x11-toolkits/ruby-gtk2/pkg-comment b/x11-toolkits/ruby-gtk2/pkg-comment
new file mode 100644
index 0000000..8bdf18e
--- /dev/null
+++ b/x11-toolkits/ruby-gtk2/pkg-comment
@@ -0,0 +1 @@
+a Ruby interface to Gtk+ toolkits.
diff --git a/x11-toolkits/ruby-gtk2/pkg-descr b/x11-toolkits/ruby-gtk2/pkg-descr
new file mode 100644
index 0000000..61d97de
--- /dev/null
+++ b/x11-toolkits/ruby-gtk2/pkg-descr
@@ -0,0 +1,6 @@
+Ruby extension module to use Gtk+.
+
+WWW: http://www.ueda.info.waseda.ac.jp/~igarashi/ruby/gtk.html
+
+- Yasuhiro Fukuma
+yasuf@big.or.jp
diff --git a/x11-toolkits/ruby-gtk2/pkg-plist b/x11-toolkits/ruby-gtk2/pkg-plist
new file mode 100644
index 0000000..d4ac46a
--- /dev/null
+++ b/x11-toolkits/ruby-gtk2/pkg-plist
@@ -0,0 +1,11 @@
+lib/ruby/%%RUBY_VER%%/%%RUBY_ARCH%%/gtk.so
+share/examples/ruby/gtk/drawing.rb
+share/examples/ruby/gtk/helloworld.rb
+share/examples/ruby/gtk/text.rb
+share/examples/ruby/gtk/texthook.rb
+share/examples/ruby/gtk/browser/gtkbrows.rb
+share/examples/ruby/gtk/browser/rbbr_gtk.rb
+share/examples/ruby/gtk/browser/rbbr_rb.rb
+share/examples/ruby/gtk/browser/rbdump.rb
+@dirrm share/examples/ruby/gtk/browser
+@dirrm share/examples/ruby/gtk
OpenPOWER on IntegriCloud