mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
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
This commit is contained in:
parent
9d1c3de597
commit
d3758bfe2f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=51217
@ -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 \
|
||||
|
11
textproc/ruby-rdtool/files/patch-rdhtml-lib.rb
Normal file
11
textproc/ruby-rdtool/files/patch-rdhtml-lib.rb
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user