aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2010-06-11 15:30:49 -0700
committerAdam Vandenberg2010-06-11 15:30:49 -0700
commit62b6f2669d717ca34a829fcc5bee9ef3592faefc (patch)
tree411e1b1cff60047bea8d97a3bd9bb0561492cd3b /Library/Formula
parent0354d1004a0a6a877d2ad93058cabb7eaf3395f9 (diff)
downloadhomebrew-62b6f2669d717ca34a829fcc5bee9ef3592faefc.tar.bz2
Add apgdiff 1.4
apgdiff is a PostgreSQL schema diff tool.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/apgdiff.rb19
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/apgdiff.rb b/Library/Formula/apgdiff.rb
new file mode 100644
index 000000000..2d5a903c3
--- /dev/null
+++ b/Library/Formula/apgdiff.rb
@@ -0,0 +1,19 @@
+require 'formula'
+
+class Apgdiff <Formula
+ url 'http://downloads.sourceforge.net/project/apgdiff/apgdiff/apgdiff-1.4/apgdiff-1.4-bin.zip'
+ homepage 'http://apgdiff.sourceforge.net/'
+ md5 '6ef287d02b4429d2111140f7fb2d8c29'
+
+ def startup_script
+<<-EOS
+#!/bin/bash
+java -jar "#{libexec}/apgdiff-1.4.jar" "$@"
+EOS
+ end
+
+ def install
+ libexec.install "apgdiff-1.4.jar"
+ (bin+'apgdiff').write startup_script
+ end
+end