Skip to content

Instantly share code, notes, and snippets.

@novel
Last active December 20, 2016 10:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save novel/0d74cdbc7b71f60640a42b52c9cc1459 to your computer and use it in GitHub Desktop.
Save novel/0d74cdbc7b71f60640a42b52c9cc1459 to your computer and use it in GitHub Desktop.
# !!! 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