NaturalDocs 1.52

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Patrick Stadler 2011-07-28 14:58:34 +02:00 committed by Adam Vandenberg
parent 28bc903871
commit d2788c31ea

20
Formula/naturaldocs.rb Normal file
View file

@ -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