aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorSeth Fitzsimmons2009-09-10 14:28:57 -0700
committerMax Howell2009-09-11 17:42:53 +0100
commitbb14c486da08f1e4788974715d4683723858d282 (patch)
treec160b610dc3f8b644c1259b68ec0ca7af969c7b3 /Library/Formula
parentb65435b3e8addf9eb0624a6c3f1345bbf17811df (diff)
downloadhomebrew-bb14c486da08f1e4788974715d4683723858d282.tar.bz2
Exuberant Ctags
Ctags comes with OS X but Exuberant is better. Ctags generates an index (or tag) file of language objects found in source files that allows these items to be quickly and easily located by a text editor or other utility. A tag signifies a language object for which an index entry is available (or, alternatively, the index entry created for that object).
Diffstat (limited to 'Library/Formula')
-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