summaryrefslogtreecommitdiff
path: root/textproc/ruby-rttool
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2001-07-01 14:00:22 +0000
committertaca <taca@pkgsrc.org>2001-07-01 14:00:22 +0000
commit97758e8abdfd7675398fe8cf813d289254d9b126 (patch)
treece93922f9ee6013b7823e096280bbc9a7154de27 /textproc/ruby-rttool
parent912d81579c419417c5a8eee442f5fe3269692c12 (diff)
downloadpkgsrc-97758e8abdfd7675398fe8cf813d289254d9b126.tar.gz
Importing ruby-rttool, ruby-rttool-0.1.3 package.
RTtool converts RT to HTML table. Currently it support only HTML, but it hopefully other format like LaTeX.
Diffstat (limited to 'textproc/ruby-rttool')
-rw-r--r--textproc/ruby-rttool/Makefile42
-rw-r--r--textproc/ruby-rttool/distinfo4
-rw-r--r--textproc/ruby-rttool/pkg/DESCR6
-rw-r--r--textproc/ruby-rttool/pkg/PLIST15
4 files changed, 67 insertions, 0 deletions
diff --git a/textproc/ruby-rttool/Makefile b/textproc/ruby-rttool/Makefile
new file mode 100644
index 00000000000..0e5cb2a2259
--- /dev/null
+++ b/textproc/ruby-rttool/Makefile
@@ -0,0 +1,42 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/07/01 14:00:22 taca Exp $
+
+DISTNAME= rttool-${VERSION}
+PKGNAME= ${RUBY_PKGNAMEPREFIX}${DISTNAME}
+CATEGORIES= textproc
+MASTER_SITES= http://www.ruby-lang.org/~rubikitch/archive/
+
+MAINTAINER= taca@netbsd.org
+HOMEPAGE= http://www.ruby-lang.org/~rubikitch/computer/rt.html
+COMMENT= RT to HTML (and hopefully LaTeX in future) table converter
+
+DEPENDS+= ${RUBY_PKGNAMEPREFIX}optparse>=0.7:../../devel/ruby-optparse
+DEPENDS+= w3m>=0.2.1:../../www/w3m
+
+DIST_SUBDIR= ruby
+VERSION= 0.1.3
+NO_BUILD= # yes
+
+REPLACE_RUBY= rt/rt2
+
+RT_COMMANDS= rt2 rdrt2
+RT_LIB= rt2html-lib.rb rt2txt-lib.rb rtparser.rb rtvisitor.rb w3m.rb
+
+DOCS_JA= rt.html rt.rd
+
+do-install:
+.for f in ${RT_COMMANDS}
+ ${INSTALL_SCRIPT} ${WRKSRC}/rt/${f} ${LOCALBASE}/bin
+.endfor
+ ${INSTALL_DATA_DIR} ${RUBY_SITELIBDIR}/rt
+.for f in ${RT_LIB}
+ ${INSTALL_DATA} ${WRKSRC}/rt/${f} ${RUBY_SITELIBDIR}/rt
+.endfor
+ ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/rt/ja
+.for f in ${DOCS_JA}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/rt/ja
+.endfor
+ ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/rt
+ ${INSTALL_DATA} ${WRKSRC}/rt/dot.rt.rd2rc ${RUBY_EXAMPLESDIR}/rt
+
+.include "../../lang/ruby-base/Makefile.common"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/ruby-rttool/distinfo b/textproc/ruby-rttool/distinfo
new file mode 100644
index 00000000000..927a61ccd98
--- /dev/null
+++ b/textproc/ruby-rttool/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/07/01 14:00:22 taca Exp $
+
+SHA1 (ruby/rttool-0.1.3.tar.gz) = a08716849671b8f9e34cc47217cbd5974f9c9dc7
+Size (ruby/rttool-0.1.3.tar.gz) = 9632 bytes
diff --git a/textproc/ruby-rttool/pkg/DESCR b/textproc/ruby-rttool/pkg/DESCR
new file mode 100644
index 00000000000..17746f7605b
--- /dev/null
+++ b/textproc/ruby-rttool/pkg/DESCR
@@ -0,0 +1,6 @@
+RTtool converts RT to HTML table.
+
+Currently it support only HTML, but it hopefully other format like LaTeX.
+
+Author: rubikitch@ruby-lang.org
+WWW: http://www.ruby-lang.org/~rubikitch/computer/rt.html
diff --git a/textproc/ruby-rttool/pkg/PLIST b/textproc/ruby-rttool/pkg/PLIST
new file mode 100644
index 00000000000..f1dc023d1c8
--- /dev/null
+++ b/textproc/ruby-rttool/pkg/PLIST
@@ -0,0 +1,15 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/07/01 14:00:22 taca Exp $
+bin/rt2
+bin/rdrt2
+${RUBY_SITELIBDIR}/rt/rt2html-lib.rb
+${RUBY_SITELIBDIR}/rt/rt2txt-lib.rb
+${RUBY_SITELIBDIR}/rt/rtparser.rb
+${RUBY_SITELIBDIR}/rt/rtvisitor.rb
+${RUBY_SITELIBDIR}/rt/w3m.rb
+@dirrm ${RUBY_SITELIBDIR}/rt
+${RUBY_DOCDIR}/rt/ja/rt.html
+${RUBY_DOCDIR}/rt/ja/rt.rd
+@dirrm ${RUBY_DOCDIR}/rt/ja
+@dirrm ${RUBY_DOCDIR}/rt
+${RUBY_EXAMPLESDIR}/rt/dot.rt.rd2rc
+@dirrm ${RUBY_EXAMPLESDIR}/rt