aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse2013-11-01 20:40:57 +0100
committerJack Nagel2013-11-18 10:21:14 -0600
commitdbc3d73a72ec1373ba161035dc0a6b1cc048c743 (patch)
treeb4bc62514f34e3b44afe5e2899f1a9718add4f7b /Library/Formula
parent898f6f087f4b89e0aed16ef12fd564a8de186773 (diff)
downloadhomebrew-dbc3d73a72ec1373ba161035dc0a6b1cc048c743.tar.bz2
mg 20130922
This brings in two years of fixes and features for mg. Closes #23862. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/mg.rb17
1 files changed, 11 insertions, 6 deletions
diff --git a/Library/Formula/mg.rb b/Library/Formula/mg.rb
index 64dfb149b..8b3fdacf4 100644
--- a/Library/Formula/mg.rb
+++ b/Library/Formula/mg.rb
@@ -2,14 +2,19 @@ require 'formula'
class Mg < Formula
homepage 'http://homepage.boetes.org/software/mg/'
- url 'http://homepage.boetes.org/software/mg/mg-20110905.tar.gz'
- sha1 '51d2bac801cab33c9b552c36db5f8637fbbe9363'
+ url 'http://homepage.boetes.org/software/mg/mg-20130922.tar.gz'
+ sha1 'ddd461ebae8df3c016359956348329fd04906195'
+ depends_on 'bsdmake' => :build
+ depends_on 'clens'
+
+ def patches
+ { :p0 => 'https://gist.github.com/jasperla/7264123/raw'}
+ end
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}"
+ ENV.j1
+ system "bsdmake"
+ bin.install "mg"
doc.install "tutorial"
end
end