aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/maven.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2010-03-06 22:27:19 -0800
committerAdam Vandenberg2010-04-17 18:24:02 -0700
commit585ee080504f8b76e37c270f8da126e5e4e7fdb6 (patch)
treeca0a41879a20e37683d3925177c9349d83385f4e /Library/Formula/maven.rb
parentc5ff69df0ae301f737a541a0716a76d51155e0d5 (diff)
downloadhomebrew-585ee080504f8b76e37c270f8da126e5e4e7fdb6.tar.bz2
Clean ups to several formulas, including:
* Removing silly concatenation * Removing .bat files before installing * Removing silly quoting * Fixing download URLs * Removing explicit versions
Diffstat (limited to 'Library/Formula/maven.rb')
-rw-r--r--Library/Formula/maven.rb9
1 files changed, 4 insertions, 5 deletions
diff --git a/Library/Formula/maven.rb b/Library/Formula/maven.rb
index 7c80b57fb..fca3d5388 100644
--- a/Library/Formula/maven.rb
+++ b/Library/Formula/maven.rb
@@ -1,13 +1,12 @@
require 'formula'
class Maven <Formula
- @url='http://www.apache.org/dist/maven/binaries/apache-maven-2.2.1-bin.tar.gz'
- @version="2.2.1"
- @homepage='http://maven.apache.org/'
- @md5='3f829ed854cbacdaca8f809e4954c916'
+ url 'http://www.apache.org/dist/maven/binaries/apache-maven-2.2.1-bin.tar.gz'
+ homepage 'http://maven.apache.org/'
+ md5 '3f829ed854cbacdaca8f809e4954c916'
def install
+ rm_f Dir["bin/*.bat"]
prefix.install %w[bin conf boot lib]
- FileUtils.rm_f Dir["#{bin}/*.bat"]
end
end