aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJosh Pschorr2010-08-04 21:24:45 -0400
committerAdam Vandenberg2010-08-04 21:51:29 -0700
commitdd9258118e9864d389451fa1430041361c6f17f6 (patch)
treeaf4c247eae17c2d9610549fd00aa157d0a7825fa /Library/Formula
parent9642f2e8744ab0ee7eff6373e0f5908c935c16df (diff)
downloadhomebrew-dd9258118e9864d389451fa1430041361c6f17f6.tar.bz2
New formulat: greg
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/greg.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/Formula/greg.rb b/Library/Formula/greg.rb
new file mode 100644
index 000000000..00f17af88
--- /dev/null
+++ b/Library/Formula/greg.rb
@@ -0,0 +1,15 @@
+require 'formula'
+
+class Greg <Formula
+ head 'http://github.com/nddrylliog/greg.git'
+ homepage 'http://github.com/nddrylliog/greg'
+
+ def install
+ inreplace 'Makefile' do |contents|
+ contents.change_make_var! "PREFIX", prefix
+ end
+
+ bin.mkdir
+ system "make install"
+ end
+end