diff options
| author | Adam Vandenberg | 2010-06-04 22:25:02 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-06-04 22:25:02 -0700 |
| commit | 3b3e107c5917c5a58b6f52ed2ca416ab61e1e24c (patch) | |
| tree | f6692d3248a5de2ddc968a638f4e1cb0dd1387b8 /Library/Formula | |
| parent | 5d053ca88d44c6e3a630b21ddc6fed4f49b5dd06 (diff) | |
| download | homebrew-3b3e107c5917c5a58b6f52ed2ca416ab61e1e24c.tar.bz2 | |
Update trafshow to 5.2.3
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/trafshow.rb | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/Library/Formula/trafshow.rb b/Library/Formula/trafshow.rb index 4f15fd628..a6daed65e 100644 --- a/Library/Formula/trafshow.rb +++ b/Library/Formula/trafshow.rb @@ -1,14 +1,26 @@ require 'formula' class Trafshow <Formula - url 'ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/trafshow-4.0.tgz' + url 'ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/trafshow-5.2.3.tgz' homepage 'http://soft.risp.ru/trafshow/index_en.shtml' - md5 '994355d6ba98d96ce06db9c92ae41669' + md5 '0b2f0bb23b7832138b7d841437b9e182' + + def patches + files = %w[patch-domain_resolver.c patch-colormask.c patch-trafshow.c patch-trafshow.1 patch-configure] + { + :p0 => + files.collect{|p| "http://trac.macports.org/export/68507/trunk/dports/net/trafshow/files/#{p}"} + } + end def install - system "./configure", "osx", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking" + # Per MacPorts, to detect OS X as the system + system "cp /usr/share/libtool/config/config.* ." + system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking", "--disable-slang" system "make" - bin.install "trafshow" - man1.install "trafshow.1" + + bin.install "trafshow" + man1.install "trafshow.1" + etc.install ".trafshow" => "trafshow.default" end end |
