summaryrefslogtreecommitdiff
path: root/x11-toolkits/ruby-qt2table
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-01-23 07:55:09 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-01-23 07:55:09 +0000
commit6fc836634345a96793a6db3932d7087417d7d3cb (patch)
tree6fc75e959e232622ca20c527ff8baa299a1a8fdb /x11-toolkits/ruby-qt2table
parent- Support CFLAGS properly (diff)
Add ruby-qt2table, Qt2 table extension for Ruby.
Notes
Notes: svn path=/head/; revision=37473
Diffstat (limited to 'x11-toolkits/ruby-qt2table')
-rw-r--r--x11-toolkits/ruby-qt2table/Makefile44
-rw-r--r--x11-toolkits/ruby-qt2table/pkg-comment1
-rw-r--r--x11-toolkits/ruby-qt2table/pkg-descr4
-rw-r--r--x11-toolkits/ruby-qt2table/pkg-plist8
4 files changed, 57 insertions, 0 deletions
diff --git a/x11-toolkits/ruby-qt2table/Makefile b/x11-toolkits/ruby-qt2table/Makefile
new file mode 100644
index 000000000000..7bdd0904e1a3
--- /dev/null
+++ b/x11-toolkits/ruby-qt2table/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: Ruby-qt2table
+# Date created: 23 Jan 2001
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= qt2table
+PORTVERSION= 0.11
+CATEGORIES= x11-toolkits ruby
+MASTER_SITES= http://sfns.u-shizuoka-ken.ac.jp/geneng/horie_hp/ruby/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= ruby-qt2-${PORTVERSION}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+BUILD_DEPENDS= ${RUBY_SITEARCHLIBDIR}/qt2.so:${RUBY_QT2_PORTDIR}
+RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/qt2.so:${RUBY_QT2_PORTDIR}
+
+RUBY_QT2_PORTDIR= ${PORTSDIR}/x11-toolkits/ruby-qt2
+
+MD5_FILE= ${RUBY_QT2_PORTDIR}/distinfo
+
+USE_RUBY= yes
+USE_RUBY_EXTCONF= yes
+
+USE_GMAKE= yes
+
+WRKSRC= ${WRKDIR}/qt2/modules/table
+CONFIGURE_ARGS= --with-qt2-include=${X11BASE}/include/qt2 \
+ --with-qt2-lib=${X11BASE}/lib \
+ --with-qt2=qt2 \
+ --with-x11-dir=${X11BASE}
+MAKE_ARGS= LOCAL_LIBS=-lgcc
+INSTALL_TARGET= site-install
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/qt2table
+ ${CP} -R ${WRKSRC}/examples/* ${RUBY_EXAMPLESDIR}/qt2table/
+.endif
+
+.include <bsd.port.mk>
diff --git a/x11-toolkits/ruby-qt2table/pkg-comment b/x11-toolkits/ruby-qt2table/pkg-comment
new file mode 100644
index 000000000000..b8a172f4ab7d
--- /dev/null
+++ b/x11-toolkits/ruby-qt2table/pkg-comment
@@ -0,0 +1 @@
+Qt2 table extension for Ruby
diff --git a/x11-toolkits/ruby-qt2table/pkg-descr b/x11-toolkits/ruby-qt2table/pkg-descr
new file mode 100644
index 000000000000..434b1173e293
--- /dev/null
+++ b/x11-toolkits/ruby-qt2table/pkg-descr
@@ -0,0 +1,4 @@
+This is a Qt2 table extension for Ruby.
+
+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-qt2table/pkg-plist b/x11-toolkits/ruby-qt2table/pkg-plist
new file mode 100644
index 000000000000..a0d75b6c28f0
--- /dev/null
+++ b/x11-toolkits/ruby-qt2table/pkg-plist
@@ -0,0 +1,8 @@
+%%RUBY_SITEARCHLIBDIR%%/qt2table.so
+%%RUBY_EXAMPLESDIR%%/qt2table/qtable/table.rb
+%%RUBY_EXAMPLESDIR%%/qt2table/table/README.orig
+%%RUBY_EXAMPLESDIR%%/qt2table/table/table.rb
+%%RUBY_EXAMPLESDIR%%/qt2table/table/qtlogo.xpm
+@dirrm %%RUBY_EXAMPLESDIR%%/qt2table/qtable
+@dirrm %%RUBY_EXAMPLESDIR%%/qt2table/table
+@dirrm %%RUBY_EXAMPLESDIR%%/qt2table