aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorFrançois-Xavier Thomas2012-02-09 23:36:57 +0100
committerAdam Vandenberg2012-09-28 09:02:10 -0700
commit52ebe933cc277839a4e79cab7f56371ca1212011 (patch)
tree35d27ff0038fe051db99f95e25195772e2c10dc0 /Library/Formula
parenteac19a06b69d098970c634692f8a04376d6afc78 (diff)
downloadhomebrew-52ebe933cc277839a4e79cab7f56371ca1212011.tar.bz2
TeXmacs 1.0.7.16
Closes #10082. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/texmacs.rb33
1 files changed, 33 insertions, 0 deletions
diff --git a/Library/Formula/texmacs.rb b/Library/Formula/texmacs.rb
new file mode 100644
index 000000000..4d515f8a1
--- /dev/null
+++ b/Library/Formula/texmacs.rb
@@ -0,0 +1,33 @@
+require 'formula'
+
+class Texmacs < Formula
+ homepage 'http://www.texmacs.org'
+ url 'http://www.texmacs.org/Download/ftp/tmftp/source/TeXmacs-1.0.7.16-src.tar.gz'
+ sha1 'bd73a8ff1c5361161cc65c57dfe8e706a1859231'
+
+ depends_on "qt"
+ depends_on "guile"
+ depends_on "ghostscript"
+ depends_on "imagemagick"
+ depends_on :x11
+
+ def install
+ system "./configure", "--disable-debug",
+ "--prefix=#{prefix}"
+ system "make"
+ system "make install"
+ end
+
+ def caveats
+ general_caveats = <<-EOS.undent
+ TeXmacs has been installed! You can also check some dependencies :
+ * Aspell for spell checking
+ * Gnuplot for inline plotting
+ * ...and a lot more!
+
+ Usually, TeXmacs detects the dependencies at runtime, so you can install
+ them at any time. If you encounter any problems and are upgrading from a
+ previous version of TeXmacs, you can try to remove the ~/.TeXmacs folder.
+ EOS
+ end
+end