aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorOssi Salmi2010-05-06 01:23:19 +0300
committerAdam Vandenberg2010-05-05 15:47:21 -0700
commit3034f1bead601d9d613f30922e91d4787c52ee53 (patch)
tree8a59926991d72812e0b645f52be4350cb8440747 /Library/Formula
parentae3de049d5be939644432c8581b78d3282965c5e (diff)
downloadhomebrew-3034f1bead601d9d613f30922e91d4787c52ee53.tar.bz2
New formula: tinyfugue
TinyFugue, aka "tf", is a flexible, screen-oriented MUD client, for use with any type of text MUD. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/tinyfugue.rb33
1 files changed, 33 insertions, 0 deletions
diff --git a/Library/Formula/tinyfugue.rb b/Library/Formula/tinyfugue.rb
new file mode 100644
index 000000000..ebb2cded9
--- /dev/null
+++ b/Library/Formula/tinyfugue.rb
@@ -0,0 +1,33 @@
+require 'formula'
+
+class Tinyfugue <Formula
+ url 'http://downloads.sourceforge.net/project/tinyfugue/tinyfugue/5.0%20beta%208/tf-50b8.tar.gz'
+ homepage 'http://tinyfugue.sourceforge.net/'
+ md5 '3e994e791966d274f63b0e61abf2ef59'
+ version '5.0b8'
+
+ depends_on 'pcre'
+
+ def patches
+ DATA
+ end
+
+ def install
+ system "./configure", "--prefix=#{prefix}", "--enable-getaddrinfo", "--enable-termcap=ncurses"
+ system "make install"
+ end
+end
+
+__END__
+diff --git a/src/malloc.c b/src/malloc.c
+index 03ca393..7282f02 100644
+--- a/src/malloc.c
++++ b/src/malloc.c
+@@ -7,6 +7,7 @@
+ ************************************************************************/
+ static const char RCSid[] = "$Id: malloc.c,v 35004.22 2007/01/13 23:12:39 kkeys Exp $";
+
++#include "sys/types.h"
+ #include "tfconfig.h"
+ #include "port.h"
+ #include "signals.h"