7356251183
The formula for mg currently does not work for non /usr/local prefixes. This patch fixes two issues: - the Makefile checks for PREFIX, not prefix; and - the bin dir must exist, otherwise install renames mg to bin. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
13 lines
330 B
Ruby
13 lines
330 B
Ruby
require 'formula'
|
|
|
|
class Mg < Formula
|
|
url 'http://pintday.org/hack/mg/mg-p-080818.tgz'
|
|
homepage 'http://pintday.org/hack/mg/'
|
|
md5 '5cdd46b226586306bde2dd5d47920d66'
|
|
|
|
def install
|
|
system "make PREFIX=#{prefix}"
|
|
bin.mkpath # otherwise install copies 'mg' to 'bin'
|
|
system "make install PREFIX=#{prefix}"
|
|
end
|
|
end
|