docbook2x: add dependencies

Signed-off-by: Adam Vandenberg <flangy@gmail.com>

These perl deps were needed for the formula to work in the first place,
so it was either revert the formula or include these too.
This commit is contained in:
Tianyi Cui 2010-10-05 21:15:46 +08:00 committed by Adam Vandenberg
parent 6726abd29b
commit 2bc2de8124

View file

@ -6,6 +6,10 @@ class Docbook2x <Formula
homepage 'http://docbook2x.sourceforge.net/'
depends_on 'docbook'
depends_on 'XML::NamespaceSupport' => :perl
depends_on 'XML::SAX' => :perl
depends_on 'XML::Parser' => :perl
depends_on 'XML::SAX::Expat' => :perl
def install
inreplace "perl/db2x_xsltproc.pl", "http://docbook2x.sf.net/latest/xslt", "#{share}/docbook2X/xslt"