aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/ruby-qt2xml
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-01-23 15:55:56 +0800
committerknu <knu@FreeBSD.org>2001-01-23 15:55:56 +0800
commit34e4b13abe7785d5ffd4fa02377654cfd0873839 (patch)
tree924c987ac1af286a6dd35caaf9f7399d82b44ba5 /textproc/ruby-qt2xml
parent030bda1275d7bd6882cbd1c640033e60c7c9ec53 (diff)
downloadfreebsd-ports-graphics-34e4b13abe7785d5ffd4fa02377654cfd0873839.tar.gz
freebsd-ports-graphics-34e4b13abe7785d5ffd4fa02377654cfd0873839.tar.zst
freebsd-ports-graphics-34e4b13abe7785d5ffd4fa02377654cfd0873839.zip
Add ruby-qt2xml, Qt2 xml extension for Ruby.
Diffstat (limited to 'textproc/ruby-qt2xml')
-rw-r--r--textproc/ruby-qt2xml/Makefile48
-rw-r--r--textproc/ruby-qt2xml/pkg-comment1
-rw-r--r--textproc/ruby-qt2xml/pkg-descr4
-rw-r--r--textproc/ruby-qt2xml/pkg-plist17
4 files changed, 70 insertions, 0 deletions
diff --git a/textproc/ruby-qt2xml/Makefile b/textproc/ruby-qt2xml/Makefile
new file mode 100644
index 00000000000..9d643122322
--- /dev/null
+++ b/textproc/ruby-qt2xml/Makefile
@@ -0,0 +1,48 @@
+# New ports collection makefile for: Ruby-qt2xml
+# Date created: 23 Jan 2001
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= qt2xml
+PORTVERSION= 0.11
+CATEGORIES= textproc 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/xml
+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-extract:
+ cd ${WRKSRC}/examples/domexample && \
+ ${RM} domtest1.cc domtest1
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/qt2xml
+ ${CP} -R ${WRKSRC}/examples/* ${RUBY_EXAMPLESDIR}/qt2xml/
+.endif
+
+.include <bsd.port.mk>
diff --git a/textproc/ruby-qt2xml/pkg-comment b/textproc/ruby-qt2xml/pkg-comment
new file mode 100644
index 00000000000..22fed3cf922
--- /dev/null
+++ b/textproc/ruby-qt2xml/pkg-comment
@@ -0,0 +1 @@
+Qt2 xml extension for Ruby
diff --git a/textproc/ruby-qt2xml/pkg-descr b/textproc/ruby-qt2xml/pkg-descr
new file mode 100644
index 00000000000..f1337a16d9f
--- /dev/null
+++ b/textproc/ruby-qt2xml/pkg-descr
@@ -0,0 +1,4 @@
+This is a Qt2 xml 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/textproc/ruby-qt2xml/pkg-plist b/textproc/ruby-qt2xml/pkg-plist
new file mode 100644
index 00000000000..79cdcd286c4
--- /dev/null
+++ b/textproc/ruby-qt2xml/pkg-plist
@@ -0,0 +1,17 @@
+%%RUBY_SITEARCHLIBDIR%%/qt2xml.so
+%%RUBY_EXAMPLESDIR%%/qt2xml/domexample/quotes.xml
+%%RUBY_EXAMPLESDIR%%/qt2xml/domexample/domtest1.rb
+%%RUBY_EXAMPLESDIR%%/qt2xml/saxsample/sax.rb
+%%RUBY_EXAMPLESDIR%%/qt2xml/saxsample/sample.xml
+%%RUBY_EXAMPLESDIR%%/qt2xml/saxsample/sample1.ui
+%%RUBY_EXAMPLESDIR%%/qt2xml/xmlquotes/README.orig
+%%RUBY_EXAMPLESDIR%%/qt2xml/xmlquotes/quotes.xml
+%%RUBY_EXAMPLESDIR%%/qt2xml/xmlquotes/richtext.h.rb
+%%RUBY_EXAMPLESDIR%%/qt2xml/xmlquotes/richtext.rb
+%%RUBY_EXAMPLESDIR%%/qt2xml/xmlquotes/quoteparser.rb
+%%RUBY_EXAMPLESDIR%%/qt2xml/xmlquotes/xmlquotes.rb
+%%RUBY_EXAMPLESDIR%%/qt2xml/xmlquotes/marble.png
+@dirrm %%RUBY_EXAMPLESDIR%%/qt2xml/domexample
+@dirrm %%RUBY_EXAMPLESDIR%%/qt2xml/saxsample
+@dirrm %%RUBY_EXAMPLESDIR%%/qt2xml/xmlquotes
+@dirrm %%RUBY_EXAMPLESDIR%%/qt2xml