homebrew-core/Formula/latex2rtf.rb
J.Paul Rinehimer 350131461c latex2rtf 2.3.3
Closes Homebrew/homebrew#19665.

[jn: fix install locations]

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-05-07 18:18:44 -05:00

17 lines
545 B
Ruby

require 'formula'
class Latex2rtf < Formula
homepage 'http://latex2rtf.sourceforge.net/'
url 'http://downloads.sourceforge.net/project/latex2rtf/latex2rtf-unix/2.3.3/latex2rtf-2.3.3.tar.gz'
sha1 '85dd36e8595f92f41b0b173a6b42279333bbb1a9'
def install
system "make", "DESTDIR=",
"BINDIR=#{bin}",
"MANDIR=#{man1}",
"INFODIR=#{info}",
"SUPPORTDIR=#{share}/latex2rtf",
"CFGDIR=#{share}/latex2rtf/cfg",
"install"
end
end