diff options
| author | nibbles 2bits | 2012-06-09 04:04:09 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-06-09 07:32:37 -0700 |
| commit | 89568167449c1bc7195edec168ee4efa74406396 (patch) | |
| tree | 17705a0befd0a5db285b32cb8334af969314128f /Library/Formula | |
| parent | 292d1f1220edadd4ae52dd1ecf5dd44261c886c5 (diff) | |
| download | homebrew-89568167449c1bc7195edec168ee4efa74406396.tar.bz2 | |
apgdiff 2.3
Upgrade apgdiff to version 2.3.
Use `version` string in the heredoc and libexec.install lines
so we don't have to change that at the next upgrade.
Install the metafiles in `prefix`.
Use the official site as the url. Change sf.net to the mirror.
Tested on Lion using clang and llvm-gcc.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/apgdiff.rb | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/Library/Formula/apgdiff.rb b/Library/Formula/apgdiff.rb index 4ef7bc2f1..4ba0cf283 100644 --- a/Library/Formula/apgdiff.rb +++ b/Library/Formula/apgdiff.rb @@ -1,15 +1,18 @@ require 'formula' class Apgdiff < Formula - homepage 'http://apgdiff.sourceforge.net/' - url 'http://downloads.sourceforge.net/project/apgdiff/apgdiff/apgdiff-1.4/apgdiff-1.4-bin.zip' - md5 '6ef287d02b4429d2111140f7fb2d8c29' + homepage 'http://apgdiff.startnet.biz/index.php' + url 'http://apgdiff.startnet.biz/download/apgdiff-2.3-bin.zip' + mirror 'http://downloads.sourceforge.net/project/apgdiff/apgdiff/apgdiff-2.3/apgdiff-2.3-bin.zip' + sha1 '6d42dd3b2496dec0063de3070ad7306a1588e266' def install - libexec.install "apgdiff-1.4.jar" + libexec.install "apgdiff-#{version}.jar" + prefix.install 'changelog.txt' => 'ChangeLog' + prefix.install 'license.txt' => 'LICENSE' (bin+'apgdiff').write <<-EOS.undent #!/bin/bash - java -jar "#{libexec}/apgdiff-1.4.jar" "$@" + java -jar "#{libexec}/apgdiff-#{version}.jar" "$@" EOS end end |
