aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/dmd.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/dmd.rb')
-rw-r--r--Library/Formula/dmd.rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/Library/Formula/dmd.rb b/Library/Formula/dmd.rb
index 164877f4a..e11017535 100644
--- a/Library/Formula/dmd.rb
+++ b/Library/Formula/dmd.rb
@@ -1,9 +1,9 @@
require 'formula'
class Dmd <Formula
- @homepage='http://www.digitalmars.com/d/'
- @url='http://ftp.digitalmars.com/dmd.1.060.zip'
- @md5='fd982f9d1d5d836a02ece476c20e5334'
+ homepage='http://www.digitalmars.com/d/'
+ url 'http://ftp.digitalmars.com/dmd.1.060.zip'
+ md5 'fd982f9d1d5d836a02ece476c20e5334'
def doc
#use d and not dmd, rationale: meh
@@ -15,9 +15,9 @@ class Dmd <Formula
# clean it up a little first
Dir['src/*.mak'].each {|f| File.unlink f}
- FileUtils.mv 'license.txt', 'COPYING'
- FileUtils.mv 'README.TXT', 'README'
- FileUtils.mv 'src/phobos/phoboslicense.txt', 'src/phobos/COPYING.phobos'
+ mv 'license.txt', 'COPYING'
+ mv 'README.TXT', 'README'
+ mv 'src/phobos/phoboslicense.txt', 'src/phobos/COPYING.phobos'
prefix.install 'osx/lib'
prefix.install 'osx/bin'
@@ -25,7 +25,7 @@ class Dmd <Formula
man.install 'man/man1'
(prefix+'src/dmd').rmtree # we don't need the dmd sources thanks
- (man+'man5').install man1+'dmd.conf.5' # oops
+ man5.install man1+'dmd.conf.5' # oops
(prefix+'share/d/examples').install Dir['samples/d/*.d']
(prefix+'bin/dmd.conf').open('w') do |f|