latex2html: install .sty files to share

By default latex2html will install to a TeX folder which it may not have
permissions for, or may not be appropriate.

Follow MacPorts and install to a known path.

Closes Homebrew/homebrew#22808.
This commit is contained in:
Adam Vandenberg 2014-03-04 21:14:23 -08:00
parent 33c599eb6a
commit bdd9049533

View file

@ -10,7 +10,9 @@ class Latex2html < Formula
depends_on :tex => :recommended
def install
system "./configure", "--prefix=#{prefix}", "--without-mktexlsr"
system "./configure", "--prefix=#{prefix}",
"--without-mktexlsr",
"--with-texpath=#{share}/texmf/tex/latex/html"
system "make install"
end
end