homebrew-core/Formula/mg.rb
Jack Nagel c2b7a9caad mg 20110905
This switches download site and homepage to mirror what other package
managers are using for mg. It appears that the previous URL (which is
now broken) is affiliated with this one, the portable version of the one
maintained in the OpenBSD ports tree.

Closes Homebrew/homebrew#6402.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-09-06 23:46:01 -05:00

14 lines
434 B
Ruby

require 'formula'
class Mg < Formula
url 'http://homepage.boetes.org/software/mg/mg-20110905.tar.gz'
homepage 'http://homepage.boetes.org/software/mg/'
md5 '2de35316fa8ebafe6003efaae70b723e'
def install
# -Wno-error=unused-but-set-variable requires GCC 4.6+
inreplace 'Makefile.in', '-Wno-error=unused-but-set-variable', ''
system "./configure"
system "make install prefix=#{prefix} mandir=#{man}"
end
end