lesspipe: remove options

This commit is contained in:
FX Coudert 2018-12-24 15:49:20 +01:00
parent fc96d910fd
commit 2d3a66c846

View file

@ -13,15 +13,7 @@ class Lesspipe < Formula
sha256 "f22864d81a8eb648fc4501665af743d285fcf0fa7c81edb21fd71f2593addedd" => :yosemite
end
option "with-syntax-highlighting", "Build with syntax highlighting"
deprecated_option "syntax-highlighting" => "with-syntax-highlighting"
def install
if build.with? "syntax-highlighting"
inreplace "configure", '$ifsyntax = "\L$ifsyntax";', '$ifsyntax = "\Ly";'
end
system "./configure", "--prefix=#{prefix}", "--yes"
man1.mkpath
system "make", "install"