diff options
| author | Patrick Stadler | 2011-07-28 14:58:34 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2011-07-28 21:05:35 -0700 |
| commit | 436f650a9b137b212d83f1e098cfd730ec735e6c (patch) | |
| tree | 75c0f19628de6fbd7461da310b6a4f2a145d798e /Library | |
| parent | 506efad4ae92b8fe6a3abadf1f2b0903fb6d719c (diff) | |
| download | homebrew-436f650a9b137b212d83f1e098cfd730ec735e6c.tar.bz2 | |
NaturalDocs 1.52
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/naturaldocs.rb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Library/Formula/naturaldocs.rb b/Library/Formula/naturaldocs.rb new file mode 100644 index 000000000..6a2065bd9 --- /dev/null +++ b/Library/Formula/naturaldocs.rb @@ -0,0 +1,20 @@ +require 'formula' + +class Naturaldocs < Formula + url 'http://downloads.sourceforge.net/project/naturaldocs/Stable%20Releases/1.52/NaturalDocs-1.52.zip' + homepage 'http://www.naturaldocs.org/' + md5 '68e3982acae57b6befdf9e75b420fd80' + + def install + # Remove batch files + rm_rf Dir['*.bat'] + + # Install + libexec.install Dir['*'] + chmod 0755, libexec+'NaturalDocs' + bin.mkpath + + # Symlink binary + ln_s libexec+'NaturalDocs', bin+'NaturalDocs' + end +end |
