Create a gist now

Instantly share code, notes, and snippets.

@novel /bsdrpcgen.rb
Last active Dec 20, 2016

What would you like to do?
# !!! NOTE !!!
# This version is not relevant anymore, please use the 'rpcgen' formula:
# https://github.com/Homebrew/homebrew-core/blob/master/Formula/rpcgen.rb
class Bsdrpcgen < Formula
desc "FreeBSD's rpcgen"
homepage "http://freebsd.org"
url "http://people.freebsd.org/~novel/misc/rpcgen-20161114.tar.gz"
sha256 "6a785a24b5c40096cf8a6e4a6b21846a8cf8bc25d04bc20ff9ba1d90ff3e9df5"
depends_on "bsdmake" => :build
def install
system "bsdmake"
bin.install "rpcgen" => "bsdrpcgen"
man1.install "rpcgen.1" => "bsdrpcgen.1"
end
test do
system "#{bin}/bsdrpcgen"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment