2011-07-28 12:58:34 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Naturaldocs < Formula
|
2011-07-29 15:34:26 +00:00
|
|
|
homepage 'http://www.naturaldocs.org/'
|
2014-02-27 14:19:55 +00:00
|
|
|
url 'https://downloads.sourceforge.net/project/naturaldocs/Stable%20Releases/1.52/NaturalDocs-1.52.zip'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '0457bdd60beb2275a1fad414e6ba0a56798a7993'
|
2011-07-28 12:58:34 +00:00
|
|
|
|
2011-07-29 15:34:26 +00:00
|
|
|
def install
|
2012-02-13 01:21:37 +00:00
|
|
|
# Remove Windows files
|
2011-07-29 15:34:26 +00:00
|
|
|
rm_rf Dir['*.bat']
|
2011-07-28 12:58:34 +00:00
|
|
|
|
2011-07-29 15:34:26 +00:00
|
|
|
libexec.install Dir['*']
|
|
|
|
chmod 0755, libexec+'NaturalDocs'
|
2012-02-13 01:21:37 +00:00
|
|
|
bin.install_symlink libexec+'NaturalDocs'
|
2011-07-29 15:34:26 +00:00
|
|
|
end
|
2011-07-28 12:58:34 +00:00
|
|
|
end
|