homebrew-core/Formula/pbzip2.rb
Jack Nagel a0207751b2 pbzip2: avoid inreplace
The inreplace from MacPorts was four years old and no longer applies.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-12 22:35:01 -06:00

19 lines
494 B
Ruby

require 'formula'
class Pbzip2 < Formula
homepage 'http://compression.ca/pbzip2/'
url 'http://compression.ca/pbzip2/pbzip2-1.1.6.tar.gz'
md5 '26cc5a0d882198f106e75101ff0544a3'
fails_with_llvm :build => 2334
def install
inreplace "Makefile", "$(PREFIX)/man", "$(PREFIX)/share/man"
system "make", "PREFIX=#{prefix}",
"CC=#{ENV.cxx}",
"CFLAGS=#{ENV.cflags}",
"PREFIX=#{prefix}",
"install"
end
end