Commit graph

7 commits

Author SHA1 Message Date
James Turner
a454b8ac9e mg: install tutorial
Closes Homebrew/homebrew#12285.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-16 19:15:46 -05:00
Jack Nagel
7c648d9732 Shore up a number of shell quoting issues
When interpolating in strings passed to Formula#system, it should be
done in such a way that if any interpolated variables contain spaces,
they are either (a) passed as part of a list or (b) protected by quotes
if they are part of a long string (which is subject to shell expansion).
Otherwise, they will be split on the space when expanded by the shell
and passed as multiple arguments to whatever process is being executed.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-15 14:03:11 -05:00
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
Björn B. Brandenburg
7356251183 fix installation of mg
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>
2010-10-12 17:09:38 -07:00
Bryce Mecum
3c7d326e5d Update archive location and homepage,
and use correct install flags

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-04-01 12:41:04 -07:00
Max Howell
61b2307139 s/require 'brewkit'/require 'formula'/g
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.
2009-10-15 16:48:03 +01:00
Seth Falcon
8f18f073f5 mg formula
mg is Micro GNU/emacs, this is a portable version of the mg maintained by
the OpenBSD team.
2009-09-30 00:05:36 +01:00