class Udpxy < Formula desc "UDP-to-HTTP multicast traffic relay daemon" homepage "http://www.udpxy.com/" url "http://www.udpxy.com/download/1_23/udpxy.1.0.23-12-prod.tar.gz" mirror "https://fossies.org/linux/www/udpxy.1.0.23-12-prod.tar.gz" version "1.0.23-12" sha256 "16bdc8fb22f7659e0427e53567dc3e56900339da261199b3d00104d699f7e94c" bottle do cellar :any_skip_relocation sha256 "46de795b585d88c658554fb943931885db85d75c7f838d9db6d11d98e46538d0" => :high_sierra sha256 "ee35787b2877b8ac1a9fa967e9f8fbf466f8c107e28cc61fee59c26aef9bf44d" => :sierra sha256 "0d4a899340bdee7f4497d68fe3bc59213ad83382d205aa08ada871d9d08c010d" => :el_capitan end def install system "make" system "make", "install", "DESTDIR=#{prefix}", "PREFIX=''" end plist_options :manual => "udpxy -p 4022" def plist; <<~EOS KeepAlive Label #{plist_name} ProgramArguments #{opt_bin}/udpxy -p 4022 RunAtLoad WorkingDirectory #{HOMEBREW_PREFIX} EOS end end