aboutsummaryrefslogtreecommitdiffstats
path: root/index.html
diff options
context:
space:
mode:
authorMax Howell2010-03-06 17:53:38 +0000
committerMax Howell2010-03-06 17:53:38 +0000
commit2aa76b23717143554db891161930d1f8cceb0a18 (patch)
treee579284b1fc7b674267e438f73c468c211e2e1e9 /index.html
downloadhomebrew-2aa76b23717143554db891161930d1f8cceb0a18.tar.bz2
How to brew in 12 easy steps
Diffstat (limited to 'index.html')
-rw-r--r--index.html110
1 files changed, 110 insertions, 0 deletions
diff --git a/index.html b/index.html
new file mode 100644
index 000000000..1f96c01bc
--- /dev/null
+++ b/index.html
@@ -0,0 +1,110 @@
+<html>
+<head>
+ <title>Homebrew &mdash; MacPorts driving you to drink? Try Homebrew!</title>
+ <link rel="stylesheet" href="mxcl.css" type="text/css">
+</head>
+
+<body>
+
+<a href="http://github.com/you"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub" /></a>
+
+<table cellspacing=0 cellpadding=0 width=100% height=100%>
+<tr>
+<td id="masthead" colspan="2">
+<h1>Homebrew</h1>
+<p>The missing package manager for OS X</p>
+
+<div class=quote>
+Homebrew is the bee's knees, friends. So far it's a perfect replacement for MacPorts.
+<a href='https://twitter.com/thillerson/status/6688848379'>@thillerson</a></div>
+</td>
+</tr>
+
+<tr id="abstract">
+<td>
+Homebrew is the easiest way to install the UNIX tools Apple didn't include with OS X.
+</td>
+<td>
+<pre>
+$ brew install wget
+</pre>
+</td></tr>
+<tr>
+<td>
+Homebrew installs packages into their own isolated prefix and then symlinks everything into /usr/local.
+</td>
+<td><pre>
+$ cd /usr/local
+$ find Cellar
+Cellar/wget/1.12
+Cellar/wget/1.12/bin/wget
+Cellar/wget/1.12/share/man/man1/wget.1
+
+$ ls -l bin
+bin/wget -&gt; ../Cellar/wget/1.12/bin/wget
+</pre>
+</td></tr>
+
+<tr>
+<td>
+Homebrew is self contained and unintrusive.
+<center><a class=more href='http://wiki.github.com/mxcl/homebrew/installation'>Install Homebrew Today!</a></center>
+</td>
+<td>
+</td>
+</tr>
+
+<tr><td>
+<p>Create your own Homebrew packages in seconds.</p>
+<center><a class=more href='http://wiki.github.com/mxcl/homebrew/formula-cookbook'>Incredible Brewing Guide Here!</a></center>
+</td>
+
+<td>
+<pre>
+$ brew create http://example.com/foo-0.1.tar.gz
+Created /usr/local/Library/Formula/foo.rb
+
+</pre>
+</td>
+</tr>
+
+<tr>
+<td>
+ Homebrew has a Git foundation, so enjoy version control on your brewing customizations and easily merge upstream updates.
+</td>
+<td><pre class=with_comments>$ brew edit wget <span># opens the formula in TextMate!</pre></td>
+</tr>
+
+<tr>
+<td>Homebrew formula are simple Ruby scripts:</td>
+<td>
+
+<pre class="gist-syntax">
+<span class="nb">require</span> <span class="s1">'formula'</span>
+
+<span class="k">class</span> <span class="nc">Wget</span> <span class="o">&lt;</span><span class="no">Formula</span>
+ <span class="n">homepage</span> <span class="s1">'http://www.gnu.org/software/wget/'</span>
+ <span class="n">url</span> <span class="s1">'http://ftp.gnu.org/gnu/wget/wget-1.12.tar.bz2'</span>
+ <span class="n">md5</span> <span class="s1">'308a5476fc096a8a525d07279a6f6aa3'</span>
+
+ <span class="k">def</span> <span class="nf">install</span>
+ <span class="nb">system</span> <span class="s2">"./configure"</span><span class="p">,</span> <span class="s2">"--disable-debug"</span><span class="p">,</span> <span class="s2">"--prefix=</span><span class="si">#{</span><span class="n">prefix</span><span class="si">}</span><span class="s2">"</span>
+ <span class="nb">system</span> <span class="s2">"make install"</span>
+ <span class="k">end</span>
+<span class="k">end</span>
+</pre>
+
+</td>
+</tr>
+
+<tr><td>Homebrew compliments OS X. Install your gems with gem, and their dependencies with brew.
+</td></tr>
+
+<tr><td style='border-bottom:0'>
+<center><a class=more href='http://wiki.github.com/mxcl/homebrew'>Vastly More Information Here!</a></center>
+</td></tr>
+
+</table>
+
+</body>
+</html>