diff options
author | knu <knu@FreeBSD.org> | 2001-12-08 21:12:13 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2001-12-08 21:12:13 +0800 |
commit | 0fe5cf0ed083113f989b4422eef83ba95bb88fd3 (patch) | |
tree | 6658870aea266d72657e9a7a3d89c4d0ebdf1752 /textproc | |
parent | c90d682c9f082e5ac5229d8db76eb8ef0d1da581 (diff) | |
download | freebsd-ports-gnome-0fe5cf0ed083113f989b4422eef83ba95bb88fd3.tar.gz freebsd-ports-gnome-0fe5cf0ed083113f989b4422eef83ba95bb88fd3.tar.zst freebsd-ports-gnome-0fe5cf0ed083113f989b4422eef83ba95bb88fd3.zip |
Add ruby-amstd to RUN_DEPENDS which was hiding behind ruby-strscan
before it became independent of it.
Submitted by: Thomas Gravgaard <fehaar@infopaq.dk>
Add a patch to fix footnote hyperlinks.
Obtained from: ruby-list
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/ruby-rdtool/Makefile | 4 | ||||
-rw-r--r-- | textproc/ruby-rdtool/files/patch-rdhtml-lib.rb | 11 |
2 files changed, 14 insertions, 1 deletions
diff --git a/textproc/ruby-rdtool/Makefile b/textproc/ruby-rdtool/Makefile index d9a77c155575..1c1c3e88aefd 100644 --- a/textproc/ruby-rdtool/Makefile +++ b/textproc/ruby-rdtool/Makefile @@ -7,6 +7,7 @@ PORTNAME= rdtool PORTVERSION= 0.6.10 +PORTREVISION= 1 CATEGORIES= textproc ruby MASTER_SITES= http://www2.pos.to/~tosh/ruby/rdtool/archive/ PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} @@ -14,7 +15,8 @@ DIST_SUBDIR= ruby MAINTAINER= knu@FreeBSD.org -BUILD_DEPENDS= racc:${PORTSDIR}/devel/ruby-racc \ +BUILD_DEPENDS= ${DEPEND_RUBY_AMSTD} \ + racc:${PORTSDIR}/devel/ruby-racc \ ${RUBY_SITELIBDIR}/strscan.rb:${PORTSDIR}/devel/ruby-strscan \ ${RUBY_SITELIBDIR}/optparse.rb:${PORTSDIR}/devel/ruby-optparse RUN_DEPENDS= ${RUBY_SITELIBDIR}/racc/parser.rb:${PORTSDIR}/devel/ruby-racc-runtime \ diff --git a/textproc/ruby-rdtool/files/patch-rdhtml-lib.rb b/textproc/ruby-rdtool/files/patch-rdhtml-lib.rb new file mode 100644 index 000000000000..05b10801d3e3 --- /dev/null +++ b/textproc/ruby-rdtool/files/patch-rdhtml-lib.rb @@ -0,0 +1,11 @@ +--- rd/rd2html-lib.rb.orig Wed Jun 6 02:20:47 2001 ++++ rd/rd2html-lib.rb Sat Dec 8 21:49:40 2001 +@@ -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 |