aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAlexis Hildebrandt2014-05-11 21:21:09 +0200
committerAdam Vandenberg2014-05-12 07:31:46 -0700
commit1dc2a926cbbb19fbbaa13fac3a28f3603d571464 (patch)
tree3059a4333849ecd5918aee190ab7b21955ddaf9f /Library
parentcaa8d108211b37804c800a5faac87439bc448db4 (diff)
downloadhomebrew-1dc2a926cbbb19fbbaa13fac3a28f3603d571464.tar.bz2
grap 1.44
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 #29140. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/grap.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/grap.rb b/Library/Formula/grap.rb
new file mode 100644
index 000000000..a4a6b1802
--- /dev/null
+++ b/Library/Formula/grap.rb
@@ -0,0 +1,16 @@
+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