2010-02-06 00:36:27 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Latex2rtf < Formula
|
2011-05-01 19:55:35 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/latex2rtf/latex2rtf-unix/2.1.0/latex2rtf-2.1.0.tar.gz'
|
2010-02-06 00:36:27 +00:00
|
|
|
homepage 'http://latex2rtf.sourceforge.net/'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '31e6280312b56c2c38cf6a3fddff21a9910c7d6f'
|
2010-02-06 00:36:27 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
inreplace "Makefile" do |s|
|
|
|
|
s.remove_make_var! 'PREFIX?'
|
|
|
|
s.change_make_var! 'MAN_INSTALL', man1
|
|
|
|
end
|
|
|
|
|
2012-05-15 18:31:21 +00:00
|
|
|
system "make", "PREFIX=#{prefix}", "install"
|
2010-02-06 00:36:27 +00:00
|
|
|
end
|
|
|
|
end
|