summaryrefslogtreecommitdiff
path: root/x11-toolkits/ruby-qt2canvas
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-01-23 07:54:16 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-01-23 07:54:16 +0000
commit7f5eab61073cc1b269b3a683391f710cf345cdd0 (patch)
tree6ef7e779ebc7158de39937fee3be99cf80516cde /x11-toolkits/ruby-qt2canvas
parentUpgrade to 2.3 (diff)
Add ruby-qt2canvas, Qt2 canvas extension for Ruby.
Notes
Notes: svn path=/head/; revision=37471
Diffstat (limited to 'x11-toolkits/ruby-qt2canvas')
-rw-r--r--x11-toolkits/ruby-qt2canvas/Makefile44
-rw-r--r--x11-toolkits/ruby-qt2canvas/pkg-comment1
-rw-r--r--x11-toolkits/ruby-qt2canvas/pkg-descr4
-rw-r--r--x11-toolkits/ruby-qt2canvas/pkg-plist14
4 files changed, 63 insertions, 0 deletions
diff --git a/x11-toolkits/ruby-qt2canvas/Makefile b/x11-toolkits/ruby-qt2canvas/Makefile
new file mode 100644
index 000000000000..3ad98badb64a
--- /dev/null
+++ b/x11-toolkits/ruby-qt2canvas/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: Ruby-qt2canvas
+# Date created: 23 Jan 2001
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= qt2canvas
+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/canvas
+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}/qt2canvas
+ ${CP} -R ${WRKSRC}/examples/* ${RUBY_EXAMPLESDIR}/qt2canvas/
+.endif
+
+.include <bsd.port.mk>
diff --git a/x11-toolkits/ruby-qt2canvas/pkg-comment b/x11-toolkits/ruby-qt2canvas/pkg-comment
new file mode 100644
index 000000000000..80598262c982
--- /dev/null
+++ b/x11-toolkits/ruby-qt2canvas/pkg-comment
@@ -0,0 +1 @@
+Qt2 canvas extension for Ruby
diff --git a/x11-toolkits/ruby-qt2canvas/pkg-descr b/x11-toolkits/ruby-qt2canvas/pkg-descr
new file mode 100644
index 000000000000..787f0e0155bc
--- /dev/null
+++ b/x11-toolkits/ruby-qt2canvas/pkg-descr
@@ -0,0 +1,4 @@
+This is a Qt2 canvas 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-qt2canvas/pkg-plist b/x11-toolkits/ruby-qt2canvas/pkg-plist
new file mode 100644
index 000000000000..0ec502d185f8
--- /dev/null
+++ b/x11-toolkits/ruby-qt2canvas/pkg-plist
@@ -0,0 +1,14 @@
+%%RUBY_SITEARCHLIBDIR%%/qt2canvas.so
+%%RUBY_EXAMPLESDIR%%/qt2canvas/canvas/in.png
+%%RUBY_EXAMPLESDIR%%/qt2canvas/canvas/butterfly.png
+%%RUBY_EXAMPLESDIR%%/qt2canvas/canvas/out.png
+%%RUBY_EXAMPLESDIR%%/qt2canvas/canvas/outshade.png
+%%RUBY_EXAMPLESDIR%%/qt2canvas/canvas/blend.png
+%%RUBY_EXAMPLESDIR%%/qt2canvas/canvas/qt-trans.xpm
+%%RUBY_EXAMPLESDIR%%/qt2canvas/canvas/qtlogo.png
+%%RUBY_EXAMPLESDIR%%/qt2canvas/canvas/blendshadow.rb
+%%RUBY_EXAMPLESDIR%%/qt2canvas/canvas/canvas.rb
+%%RUBY_EXAMPLESDIR%%/qt2canvas/canvas/canvas_lib.rb
+%%RUBY_EXAMPLESDIR%%/qt2canvas/canvas/makeimg.rb
+@dirrm %%RUBY_EXAMPLESDIR%%/qt2canvas/canvas
+@dirrm %%RUBY_EXAMPLESDIR%%/qt2canvas