ae60048ed7
Grap is a language for typesetting graphs specified and first implemented by Brian Kernighan and Jon Bentley at Bell Labs. It is an expressive language for describing graphs and incorporating them in typeset documents. It is implemented as a preprocessor to Kernigan's pic language for describing languages, so any system that can use pic can use grap. For sure, TeX and groff can use it. Closes Homebrew/homebrew#29140. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
16 lines
559 B
Ruby
16 lines
559 B
Ruby
require "formula"
|
|
|
|
class Grap < Formula
|
|
homepage "http://www.lunabase.org/~faber/Vault/software/grap/"
|
|
url "http://www.lunabase.org/~faber/Vault/software/grap/grap-1.44.tar.gz"
|
|
sha1 "b15e4e04525301cfbd2900b1f1a028e81a12ba92"
|
|
|
|
def install
|
|
system "./configure", "--disable-debug",
|
|
"--disable-dependency-tracking",
|
|
"--disable-silent-rules",
|
|
"--prefix=#{prefix}",
|
|
"--with-example-dir=#{share}/grap/examples"
|
|
system "make", "install"
|
|
end
|
|
end
|