nuttcp: interpolate version

This commit is contained in:
Jack Nagel 2013-08-12 18:47:46 -05:00
parent a7cae0f47e
commit 4e00360495

View file

@ -7,7 +7,7 @@ class Nuttcp < Formula
def install
system "make", "CC=#{ENV.cc}", "CFLAGS=#{ENV.cflags}"
bin.install 'nuttcp-6.1.2' => 'nuttcp'
bin.install "nuttcp-#{version}" => "nuttcp"
man8.install 'nuttcp.cat' => 'nuttcp.8'
end
end