aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2012-02-12 17:21:37 -0800
committerAdam Vandenberg2012-02-12 20:09:00 -0800
commiteb06348fa4c50d4969d6f4aea03d62f2a4248aad (patch)
tree1d8120dd6cec1ae07691ff248383902e9c8704bf /Library/Formula
parentb74d84bcaebf28e7e335edcda72d151aff0a3c00 (diff)
downloadhomebrew-eb06348fa4c50d4969d6f4aea03d62f2a4248aad.tar.bz2
naturaldocs: use install_symlink
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/naturaldocs.rb10
1 files changed, 3 insertions, 7 deletions
diff --git a/Library/Formula/naturaldocs.rb b/Library/Formula/naturaldocs.rb
index 97a8b462f..3b51f3420 100644
--- a/Library/Formula/naturaldocs.rb
+++ b/Library/Formula/naturaldocs.rb
@@ -1,20 +1,16 @@
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/'
+ url 'http://downloads.sourceforge.net/project/naturaldocs/Stable%20Releases/1.52/NaturalDocs-1.52.zip'
md5 '68e3982acae57b6befdf9e75b420fd80'
def install
- # Remove batch files
+ # Remove Windows files
rm_rf Dir['*.bat']
- # Install
libexec.install Dir['*']
chmod 0755, libexec+'NaturalDocs'
- bin.mkpath
-
- # Symlink binary
- ln_s libexec+'NaturalDocs', bin+'NaturalDocs'
+ bin.install_symlink libexec+'NaturalDocs'
end
end