mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-12-03 05:59:45 -05:00
naturaldocs: use install_symlink
This commit is contained in:
1 parent
b74d84bcae
commit
eb06348fa4
1 file changed
+3
-7
@@ -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
|
||||
Reference in new issue
Block a user