New formula: latex2rtf
Signed-off-by: Adam Vandenberg <flangy@gmail.com> * Fix man install path
This commit is contained in:
parent
a4e5b9bf02
commit
b5aa9995e7
1 changed files with 16 additions and 0 deletions
16
Formula/latex2rtf.rb
Normal file
16
Formula/latex2rtf.rb
Normal file
|
@ -0,0 +1,16 @@
|
|||
require 'formula'
|
||||
|
||||
class Latex2rtf <Formula
|
||||
url 'http://downloads.sourceforge.net/project/latex2rtf/latex2rtf-unix/2.0.0/latex2rtf-2.0.0.tar.gz'
|
||||
homepage 'http://latex2rtf.sourceforge.net/'
|
||||
md5 '39611b6dbb5ce78b48c7695f3fcafb88'
|
||||
|
||||
def install
|
||||
inreplace "Makefile" do |s|
|
||||
s.remove_make_var! 'PREFIX?'
|
||||
s.change_make_var! 'MAN_INSTALL', man1
|
||||
end
|
||||
|
||||
system "make PREFIX=#{prefix} install"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue