aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/ctags.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/Library/Formula/ctags.rb b/Library/Formula/ctags.rb
new file mode 100644
index 000000000..61d2de309
--- /dev/null
+++ b/Library/Formula/ctags.rb
@@ -0,0 +1,17 @@
+require 'brewkit'
+
+# TODO keywords for search include 'exuberant'
+
+class Ctags <Formula
+ @url='http://prdownloads.sourceforge.net/ctags/ctags-5.8.tar.gz'
+ @homepage='http://ctags.sourceforge.net/'
+ @md5='c00f82ecdcc357434731913e5b48630d'
+
+ def install
+ system "./configure", "--prefix='#{prefix}'",
+ "--enable-macro-patterns",
+ "--mandir='#{man}'",
+ "--with-readlib"
+ system "make install"
+ end
+end