summaryrefslogtreecommitdiff
path: root/textproc/ruby-rttool
diff options
context:
space:
mode:
authortaca <taca>2001-07-11 16:37:08 +0000
committertaca <taca>2001-07-11 16:37:08 +0000
commita1ce755932decb75c7d9c099120535938945baac (patch)
treea870c8124f3a410f3e416a649099af7eb17538c3 /textproc/ruby-rttool
parent03ca2869a70aba02b50346e5907a4bb55ea9ec0e (diff)
downloadpkgsrc-a1ce755932decb75c7d9c099120535938945baac.tar.gz
Update ruby-rttool to 0.1.4. Changes isn't available but some bug
fixes are made.
Diffstat (limited to 'textproc/ruby-rttool')
-rw-r--r--textproc/ruby-rttool/Makefile27
-rw-r--r--textproc/ruby-rttool/distinfo6
-rw-r--r--textproc/ruby-rttool/pkg/PLIST3
3 files changed, 16 insertions, 20 deletions
diff --git a/textproc/ruby-rttool/Makefile b/textproc/ruby-rttool/Makefile
index 0e5cb2a2259..c58ea6073ab 100644
--- a/textproc/ruby-rttool/Makefile
+++ b/textproc/ruby-rttool/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2001/07/01 14:00:22 taca Exp $
+# $NetBSD: Makefile,v 1.2 2001/07/11 16:37:08 taca Exp $
DISTNAME= rttool-${VERSION}
PKGNAME= ${RUBY_PKGNAMEPREFIX}${DISTNAME}
@@ -13,30 +13,25 @@ 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
+VERSION= 0.1.4
+USE_RUBY_SETUP= # defined
-REPLACE_RUBY= rt/rt2
-
-RT_COMMANDS= rt2 rdrt2
-RT_LIB= rt2html-lib.rb rt2txt-lib.rb rtparser.rb rtvisitor.rb w3m.rb
+REPLACE_RUBY= bin/rt/rt2 lib/rt/rt2html-lib.rb lib/rt/rt2txt-lib.rb \
+ lib/rt/rtparser-test.rb lib/rt/rtparser.rb \
+ lib/rt/rtvisitor.rb lib/rt/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
+pre-configure:
+ ${RM} -f ${WRKSRC}/setup/rt.rb
+
+post-install:
${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
+ ${INSTALL_DATA} ${WRKSRC}/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
index 927a61ccd98..286c57ba9ee 100644
--- a/textproc/ruby-rttool/distinfo
+++ b/textproc/ruby-rttool/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1.1.1 2001/07/01 14:00:22 taca Exp $
+$NetBSD: distinfo,v 1.2 2001/07/11 16:37:08 taca Exp $
-SHA1 (ruby/rttool-0.1.3.tar.gz) = a08716849671b8f9e34cc47217cbd5974f9c9dc7
-Size (ruby/rttool-0.1.3.tar.gz) = 9632 bytes
+SHA1 (ruby/rttool-0.1.4.tar.gz) = 09091f5c70c627636e2851945525eaaa21813bfa
+Size (ruby/rttool-0.1.4.tar.gz) = 22835 bytes
diff --git a/textproc/ruby-rttool/pkg/PLIST b/textproc/ruby-rttool/pkg/PLIST
index f1dc023d1c8..91715702fcb 100644
--- a/textproc/ruby-rttool/pkg/PLIST
+++ b/textproc/ruby-rttool/pkg/PLIST
@@ -1,8 +1,9 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2001/07/01 14:00:22 taca Exp $
+@comment $NetBSD: PLIST,v 1.2 2001/07/11 16:37:10 taca Exp $
bin/rt2
bin/rdrt2
${RUBY_SITELIBDIR}/rt/rt2html-lib.rb
${RUBY_SITELIBDIR}/rt/rt2txt-lib.rb
+${RUBY_SITELIBDIR}/rt/rtparser-test.rb
${RUBY_SITELIBDIR}/rt/rtparser.rb
${RUBY_SITELIBDIR}/rt/rtvisitor.rb
${RUBY_SITELIBDIR}/rt/w3m.rb