aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/narwhal.rb
diff options
context:
space:
mode:
authorRufo Sanchez2010-01-14 15:37:13 -0500
committerAdam Vandenberg2010-05-04 21:16:24 -0700
commit60ff9224c6957e3cf604bd8cca28aec019ba6390 (patch)
tree1b51cc6483dafc841bf18e5ff06ac3557ac38022 /Library/Formula/narwhal.rb
parentf47fd68a2a635ca5a8f748b2d767c55637c9e458 (diff)
downloadhomebrew-60ff9224c6957e3cf604bd8cca28aec019ba6390.tar.bz2
added narwhal formula
Signed-off-by: Adam Vandenberg <flangy@gmail.com> * Install everything to libexec and link in the binaries
Diffstat (limited to 'Library/Formula/narwhal.rb')
-rw-r--r--Library/Formula/narwhal.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/Library/Formula/narwhal.rb b/Library/Formula/narwhal.rb
new file mode 100644
index 000000000..28687874a
--- /dev/null
+++ b/Library/Formula/narwhal.rb
@@ -0,0 +1,13 @@
+require 'formula'
+
+class Narwhal <Formula
+ head 'git://github.com/tlrobinson/narwhal.git'
+ homepage 'http://www.narwhaljs.org/'
+
+ def install
+ rm Dir['bin/*.cmd']
+ libexec.install Dir['*']
+ bin.mkpath
+ Dir["#{libexec}/bin/*"].each { |d| ln_s d, bin }
+ end
+end