aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2012-03-10 20:13:26 -0800
committerAdam Vandenberg2012-03-10 20:13:37 -0800
commitae1de3a24a57c813f561e4af9a4bf729494f6f4d (patch)
tree8395e604607b75a4274429c090be9ee7fd186d80 /Library/Formula
parente45779b30dcbc2c9b1cf74b8fc9c797e237ea0a4 (diff)
downloadhomebrew-ae1de3a24a57c813f561e4af9a4bf729494f6f4d.tar.bz2
dwdiff 2.0.2
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/dwdiff.rb12
1 files changed, 7 insertions, 5 deletions
diff --git a/Library/Formula/dwdiff.rb b/Library/Formula/dwdiff.rb
index c799d2c8f..e945e7933 100644
--- a/Library/Formula/dwdiff.rb
+++ b/Library/Formula/dwdiff.rb
@@ -1,13 +1,10 @@
require 'formula'
class Dwdiff < Formula
- url 'http://os.ghalkes.nl/dist/dwdiff-1.8.2.tgz'
homepage 'http://os.ghalkes.nl/dwdiff.html'
- md5 '3217486292ab4771f9bbc1097201a4e0'
+ url 'http://os.ghalkes.nl/dist/dwdiff-2.0.2.tgz'
+ md5 'd7eaf7d75066008a9dcf1cdcd9f7527f'
- # TODO: possibly set command line arguments to compile without the below
- # dependencies. Or set arguments to compile with and compile without by
- # default.
depends_on 'gettext'
depends_on 'icu4c'
@@ -18,5 +15,10 @@ class Dwdiff < Formula
ENV.append "LDFLAGS", "-L#{gettext.lib} -L#{icu4c.lib}"
system "./configure", "--prefix=#{prefix}"
system "make install"
+
+ # Remove non-English man pages
+ (man+"nl").rmtree
+ (man+"nl.UTF-8").rmtree
+ (share+"locale/nl").rmtree
end
end