summaryrefslogtreecommitdiff
path: root/x11-toolkits/ruby-qt2
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2000-08-12 16:48:48 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2000-08-12 16:48:48 +0000
commit28ded793db62bd1a2e6abd31b744df74034399f9 (patch)
tree6d7fc0993527b4ab26b852d133a167ecd8d12d58 /x11-toolkits/ruby-qt2
parentUpdate to 1.1.0 (diff)
Add ruby-qt and ruby-qt-i18n, Qt extension for Ruby.
(for qt145 and qt-i18n, respectively)
Diffstat (limited to 'x11-toolkits/ruby-qt2')
-rw-r--r--x11-toolkits/ruby-qt2/Makefile70
-rw-r--r--x11-toolkits/ruby-qt2/distinfo1
-rw-r--r--x11-toolkits/ruby-qt2/pkg-comment1
-rw-r--r--x11-toolkits/ruby-qt2/pkg-descr10
-rw-r--r--x11-toolkits/ruby-qt2/pkg-plist136
5 files changed, 218 insertions, 0 deletions
diff --git a/x11-toolkits/ruby-qt2/Makefile b/x11-toolkits/ruby-qt2/Makefile
new file mode 100644
index 000000000000..942ecb62decf
--- /dev/null
+++ b/x11-toolkits/ruby-qt2/Makefile
@@ -0,0 +1,70 @@
+# New ports collection makefile for: Ruby-qt
+# Date created: 12 Aug 2000
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= qt
+PORTVERSION= 0.11
+CATEGORIES= x11-toolkits # ruby
+MASTER_SITES= http://sfns.u-shizuoka-ken.ac.jp/geneng/horie_hp/ruby/
+PKGNAMEPREFIX= ruby-
+DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+BUILD_DEPENDS= ruby:${PORTSDIR}/lang/ruby
+LIB_DEPENDS= ${QTLIB}.${QTLIB_SHLIBVER}:${PORTSDIR}/x11-toolkits/${QT_PORTNAME}
+RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby
+
+INSTALL_TARGET= site-install
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+PLIST_SUB= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
+
+RUBY= ${LOCALBASE}/bin/ruby
+RUBY_VER= 1.4
+RUBY_ARCH= ${ARCH}-freebsd${OSREL}
+
+QTLIBDIR= ${X11BASE}/lib
+QTINCDIR= ${X11BASE}/include/X11/qt
+
+.if defined(WITH_QTI18N)
+I18NQT= -DI18NQT
+QTLIB= qti18n
+QTLIB_SHLIBVER= 3
+QT_PORTNAME= qt-i18n
+.else
+QTLIB= qt
+QTLIB_SHLIBVER= 3
+QT_PORTNAME= qt145
+.endif
+
+post-patch:
+ ${PERL} -i -pe ' \
+ s,%%I18NQT%%,${I18NQT},g; \
+ s,%%QTLIBDIR%%,${QTLIBDIR},g; \
+ s,%%QTINCDIR%%,${QTINCDIR},g; \
+ s,%%QTLIB%%,${QTLIB},g; \
+ ' ${WRKSRC}/extconf.rb
+ ${PERL} -i -pe ' \
+ s,/usr/X11\b,${X11BASE},g; \
+ ' ${WRKSRC}/lib/qt.rb
+
+do-configure:
+ @cd ${WRKSRC}; \
+ ${SETENV} ${CONFIGURE_ENV} ${RUBY} extconf.rb
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/examples/ruby/qt
+ ${CP} -R ${WRKSRC}/examples/ ${PREFIX}/share/examples/ruby/qt/
+ ${MKDIR} ${PREFIX}/share/doc/ruby/qt/ja
+ ${CP} -R ${WRKSRC}/tutorial ${PREFIX}/share/doc/ruby/qt/
+ ${INSTALL_DATA} ${WRKSRC}/README.txt ${PREFIX}/share/doc/ruby/qt/
+ ${INSTALL_DATA} ${WRKSRC}/README.jp ${PREFIX}/share/doc/ruby/qt/ja/
+.endif
+
+.include <bsd.port.mk>
diff --git a/x11-toolkits/ruby-qt2/distinfo b/x11-toolkits/ruby-qt2/distinfo
new file mode 100644
index 000000000000..06c8193bdb8a
--- /dev/null
+++ b/x11-toolkits/ruby-qt2/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/ruby-qt-0.11.tar.gz) = b5ae8e2b5dcf745e80c4b575aa51b37d
diff --git a/x11-toolkits/ruby-qt2/pkg-comment b/x11-toolkits/ruby-qt2/pkg-comment
new file mode 100644
index 000000000000..6309d62fb6e2
--- /dev/null
+++ b/x11-toolkits/ruby-qt2/pkg-comment
@@ -0,0 +1 @@
+Qt extension for Ruby (for qt145)
diff --git a/x11-toolkits/ruby-qt2/pkg-descr b/x11-toolkits/ruby-qt2/pkg-descr
new file mode 100644
index 000000000000..78b40ee48f41
--- /dev/null
+++ b/x11-toolkits/ruby-qt2/pkg-descr
@@ -0,0 +1,10 @@
+This is a Qt extension library for Ruby (http://www.ruby-lang.org/)
+developed with SWIG (http://www.swig.org/) and Ruby module for SWIG
+(swigruby; www.goto.info.waseda.ac.jp/~fukusima/ruby/swig-j.html).
+
+Qt extension library for Ruby was originally included as a example of
+swigruby package written by the author of swigruby. The author has
+extended it for practical use in X window system.
+
+Author: Nobuyuki Horie <horie@smail.u-shizuoka-ken.ac.jp>
+WWW: http://sfns.u-shizuoka-ken.ac.jp/geneng/horie_hp/ruby/index.html
diff --git a/x11-toolkits/ruby-qt2/pkg-plist b/x11-toolkits/ruby-qt2/pkg-plist
new file mode 100644
index 000000000000..e865f003b5a0
--- /dev/null
+++ b/x11-toolkits/ruby-qt2/pkg-plist
@@ -0,0 +1,136 @@
+lib/ruby/site_ruby/%%RUBY_VER%%/%%RUBY_ARCH%%/qt.so
+lib/ruby/site_ruby/%%RUBY_VER%%/qt.rb
+share/examples/ruby/qt/aclock/README.qt.orig
+share/examples/ruby/qt/aclock/aclock.rb
+share/examples/ruby/qt/aclock/aclock_lib.rb
+share/examples/ruby/qt/application/application.rb
+share/examples/ruby/qt/application/application_lib.rb
+share/examples/ruby/qt/application/fileopen.xpm
+share/examples/ruby/qt/application/fileprint.xpm
+share/examples/ruby/qt/application/filesave.xpm
+share/examples/ruby/qt/classbrows/rbbr_rb.rb
+share/examples/ruby/qt/classbrows/rbbr_qt.rb
+share/examples/ruby/qt/classbrows/qtbrows2.rb
+share/examples/ruby/qt/classbrows/splitter.rb
+share/examples/ruby/qt/connect/connect.rb
+share/examples/ruby/qt/connect/README.orig
+share/examples/ruby/qt/cursor/README.orig
+share/examples/ruby/qt/cursor/cursor.rb
+share/examples/ruby/qt/cursor/cb.xbm
+share/examples/ruby/qt/cursor/cm.xbm
+share/examples/ruby/qt/dclock/README.qt.orig
+share/examples/ruby/qt/dclock/dclock.rb
+share/examples/ruby/qt/dclock/dclock_sub.rb
+share/examples/ruby/qt/forever/README.orig
+share/examples/ruby/qt/forever/forever2.rb
+share/examples/ruby/qt/forever/forever.rb
+share/examples/ruby/qt/hello/README.orig
+share/examples/ruby/qt/hello/hello_lib.rb
+share/examples/ruby/qt/hello/hello.rb
+share/examples/ruby/qt/hello2/hello.rb
+share/examples/ruby/qt/hello_simple/hello.rb
+share/examples/ruby/qt/movies/README.orig
+share/examples/ruby/qt/movies/movies.rb
+share/examples/ruby/qt/movies/trolltech.gif
+share/examples/ruby/qt/pinguin/pinguin.xpm
+share/examples/ruby/qt/pinguin/pixbutton.rb
+share/examples/ruby/qt/rubyedit/rubyedit.rb
+share/examples/ruby/qt/rubyedit/rubyedit_lib.rb
+share/examples/ruby/qt/rubyedit/editcopy.xpm
+share/examples/ruby/qt/rubyedit/editcut.xpm
+share/examples/ruby/qt/rubyedit/fileopen.xpm
+share/examples/ruby/qt/rubyedit/fileprint.xpm
+share/examples/ruby/qt/rubyedit/filesave.xpm
+share/examples/ruby/qt/rubyedit/editpaste.xpm
+share/examples/ruby/qt/rubyedit/readme.txt
+share/examples/ruby/qt/rubyedit/kde2ps
+share/examples/ruby/qt/rubyedit/rubyedit_win.rb
+share/examples/ruby/qt/scribble/qtscribble.rb
+share/examples/ruby/qt/scribble/qtscribble_win.rb
+share/examples/ruby/qt/signal/hello_signal.rb
+share/examples/ruby/qt/signal/hello_signal_jp.rb
+share/examples/ruby/qt/widgets/widgets.rb
+share/examples/ruby/qt/widgets/aclock_lib.rb
+share/examples/ruby/qt/widgets/dclock_lib.rb
+share/examples/ruby/qt/widgets/qt.bmp
+share/examples/ruby/qt/widgets/trolltech.bmp
+share/examples/ruby/qt/widgets/trolltech.gif
+share/examples/ruby/qt/widgets/widgets_win.rb
+share/examples/ruby/qt/xform/image.any
+share/examples/ruby/qt/xform/README.orig
+share/examples/ruby/qt/xform/xform.rb
+@dirrm share/examples/ruby/qt/aclock
+@dirrm share/examples/ruby/qt/application
+@dirrm share/examples/ruby/qt/classbrows
+@dirrm share/examples/ruby/qt/connect
+@dirrm share/examples/ruby/qt/cursor
+@dirrm share/examples/ruby/qt/dclock
+@dirrm share/examples/ruby/qt/forever
+@dirrm share/examples/ruby/qt/hello
+@dirrm share/examples/ruby/qt/hello2
+@dirrm share/examples/ruby/qt/hello_simple
+@dirrm share/examples/ruby/qt/movies
+@dirrm share/examples/ruby/qt/pinguin
+@dirrm share/examples/ruby/qt/rubyedit
+@dirrm share/examples/ruby/qt/scribble
+@dirrm share/examples/ruby/qt/signal
+@dirrm share/examples/ruby/qt/widgets
+@dirrm share/examples/ruby/qt/xform
+@dirrm share/examples/ruby/qt
+share/doc/ruby/qt/tutorial/README.qt.orig
+share/doc/ruby/qt/tutorial/t1/t1.rb
+share/doc/ruby/qt/tutorial/t10/cannon.rb
+share/doc/ruby/qt/tutorial/t10/lcdrange.rb
+share/doc/ruby/qt/tutorial/t10/t10.rb
+share/doc/ruby/qt/tutorial/t11/cannon.rb
+share/doc/ruby/qt/tutorial/t11/lcdrange.rb
+share/doc/ruby/qt/tutorial/t11/t11.rb
+share/doc/ruby/qt/tutorial/t12/cannon.rb
+share/doc/ruby/qt/tutorial/t12/lcdrange.rb
+share/doc/ruby/qt/tutorial/t12/t12.rb
+share/doc/ruby/qt/tutorial/t13/cannon.rb
+share/doc/ruby/qt/tutorial/t13/cannonj.rb
+share/doc/ruby/qt/tutorial/t13/gamebrd.rb
+share/doc/ruby/qt/tutorial/t13/gamebrdj.rb
+share/doc/ruby/qt/tutorial/t13/lcdrange.rb
+share/doc/ruby/qt/tutorial/t13/t13.rb
+share/doc/ruby/qt/tutorial/t13/t13j.rb
+share/doc/ruby/qt/tutorial/t14/cannon.rb
+share/doc/ruby/qt/tutorial/t14/gamebrd.rb
+share/doc/ruby/qt/tutorial/t14/lcdrange.rb
+share/doc/ruby/qt/tutorial/t14/t14.rb
+share/doc/ruby/qt/tutorial/t2/t2.rb
+share/doc/ruby/qt/tutorial/t3/t3.rb
+share/doc/ruby/qt/tutorial/t4/t4.rb
+share/doc/ruby/qt/tutorial/t5/t5.rb
+share/doc/ruby/qt/tutorial/t6/t6.rb
+share/doc/ruby/qt/tutorial/t7/cannon.rb
+share/doc/ruby/qt/tutorial/t7/lcdmain.rb
+share/doc/ruby/qt/tutorial/t7/lcdrange.rb
+share/doc/ruby/qt/tutorial/t7/lcdsub.rb
+share/doc/ruby/qt/tutorial/t7/t7.rb
+share/doc/ruby/qt/tutorial/t8/cannon.rb
+share/doc/ruby/qt/tutorial/t8/lcdrange.rb
+share/doc/ruby/qt/tutorial/t8/t8.rb
+share/doc/ruby/qt/tutorial/t9/cannon.rb
+share/doc/ruby/qt/tutorial/t9/lcdrange.rb
+share/doc/ruby/qt/tutorial/t9/t9.rb
+@dirrm share/doc/ruby/qt/tutorial/t1
+@dirrm share/doc/ruby/qt/tutorial/t10
+@dirrm share/doc/ruby/qt/tutorial/t11
+@dirrm share/doc/ruby/qt/tutorial/t12
+@dirrm share/doc/ruby/qt/tutorial/t13
+@dirrm share/doc/ruby/qt/tutorial/t14
+@dirrm share/doc/ruby/qt/tutorial/t2
+@dirrm share/doc/ruby/qt/tutorial/t3
+@dirrm share/doc/ruby/qt/tutorial/t4
+@dirrm share/doc/ruby/qt/tutorial/t5
+@dirrm share/doc/ruby/qt/tutorial/t6
+@dirrm share/doc/ruby/qt/tutorial/t7
+@dirrm share/doc/ruby/qt/tutorial/t8
+@dirrm share/doc/ruby/qt/tutorial/t9
+@dirrm share/doc/ruby/qt/tutorial
+share/doc/ruby/qt/README.txt
+share/doc/ruby/qt/ja/README.jp
+@dirrm share/doc/ruby/qt/ja
+@dirrm share/doc/ruby/qt