Skip to content

Commit

Permalink
mg 20110905
Browse files Browse the repository at this point in the history
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#6402.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
  • Loading branch information
jacknagel committed Sep 7, 2011
1 parent 71e3067 commit c1ba35c
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions mg.rb
@@ -1,13 +1,14 @@
require 'formula'

class Mg < Formula
url 'http://pintday.org/hack/mg/mg-p-080818.tgz'
homepage 'http://pintday.org/hack/mg/'
md5 '5cdd46b226586306bde2dd5d47920d66'
url 'http://homepage.boetes.org/software/mg/mg-20110905.tar.gz'
homepage 'http://homepage.boetes.org/software/mg/'
md5 '2de35316fa8ebafe6003efaae70b723e'

def install
system "make PREFIX=#{prefix}"
bin.mkpath # otherwise install copies 'mg' to 'bin'
system "make install PREFIX=#{prefix}"
# -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

0 comments on commit c1ba35c

Please sign in to comment.