mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-27 11:29:53 -05:00
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 #6402. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
15 lines
434 B
Ruby
15 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
|