summaryrefslogtreecommitdiff
path: root/textproc/ruby-rdtool
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2002-01-03 14:11:25 +0000
committertaca <taca@pkgsrc.org>2002-01-03 14:11:25 +0000
commit0424c1866b3d3adf92b3d7b675208c8e29cfeede (patch)
tree6df117c77bedc7832ee5036d86f82f10fc2d4ad9 /textproc/ruby-rdtool
parent2ab3feca9578ab0e161ec7397b959a1b134eecfe (diff)
downloadpkgsrc-0424c1866b3d3adf92b3d7b675208c8e29cfeede.tar.gz
Apply footnote patch and bump PKGREVISION (ruby-rdtool-0.6.10nb1).
From [ruby-list:32471] on ruby-list@ruby-lang.org.
Diffstat (limited to 'textproc/ruby-rdtool')
-rw-r--r--textproc/ruby-rdtool/Makefile3
-rw-r--r--textproc/ruby-rdtool/distinfo3
-rw-r--r--textproc/ruby-rdtool/patches/patch-ab13
3 files changed, 17 insertions, 2 deletions
diff --git a/textproc/ruby-rdtool/Makefile b/textproc/ruby-rdtool/Makefile
index cf9a65e1839..caf8b97d387 100644
--- a/textproc/ruby-rdtool/Makefile
+++ b/textproc/ruby-rdtool/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.2 2001/07/11 16:34:04 taca Exp $
+# $NetBSD: Makefile,v 1.3 2002/01/03 14:11:25 taca Exp $
# FreeBSD: ports/textproc/ruby-rdtool/Makefile,v 1.15 2001/01/30 19:20:09 knu Exp
DISTNAME= rdtool-${RUBY_RD_VERSION}
PKGNAME= ${RUBY_PKGNAMEPREFIX}${DISTNAME}
+PKGREVISION= 1
CATEGORIES= textproc
MASTER_SITES= http://www2.pos.to/~tosh/ruby/rdtool/archive/
diff --git a/textproc/ruby-rdtool/distinfo b/textproc/ruby-rdtool/distinfo
index 7d759b92ff2..7a2c2cb7afd 100644
--- a/textproc/ruby-rdtool/distinfo
+++ b/textproc/ruby-rdtool/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2001/07/01 00:00:03 taca Exp $
+$NetBSD: distinfo,v 1.2 2002/01/03 14:11:25 taca Exp $
SHA1 (ruby/rdtool-0.6.10.tar.gz) = 73132a5ac2cdb0144adf79da11ebc9e7f85753c3
Size (ruby/rdtool-0.6.10.tar.gz) = 67591 bytes
SHA1 (patch-aa) = f94b6884127d42fc7fcf51add84ae484d7bfcbe5
+SHA1 (patch-ab) = 2dfafe02f7bcbaf8e8543abc2b6194c7e15dc3b2
diff --git a/textproc/ruby-rdtool/patches/patch-ab b/textproc/ruby-rdtool/patches/patch-ab
new file mode 100644
index 00000000000..41af164bace
--- /dev/null
+++ b/textproc/ruby-rdtool/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2002/01/03 14:11:26 taca Exp $
+
+--- rd/rd2html-lib.rb.orig Wed Jun 6 02:20:47 2001
++++ rd/rd2html-lib.rb
+@@ -347,7 +347,7 @@
+ def apply_to_Foottext(element, content)
+ num = get_footnote_num(element)
+ raise ArgumentError, "[BUG] #{element} isn't registered." unless num
+- %|<a name="foottext:#{num}" id="foottext:#{num}" href="footmark:#{num}">|+
++ %|<a name="foottext:#{num}" id="foottext:#{num}" href="#footmark:#{num}">|+
+ %|<sup><small>*#{num}</small></sup></a>| +
+ %|<small>#{content}</small><br />|
+ end