aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMichael Lapinsky2010-08-08 20:07:11 -0700
committerAdam Vandenberg2010-08-09 11:31:18 -0700
commit1f6c849462c1b71c878b0b00951c0a030b43c6d4 (patch)
tree8444a8e73e08a2e5c7ff1b51870b9f3393287f61 /Library
parent52c70aa47248edc4315bd281ceae2d2083d8351c (diff)
downloadhomebrew-1f6c849462c1b71c878b0b00951c0a030b43c6d4.tar.bz2
Added formula: tofrodos 1.7.8
Signed-off-by: Adam Vandenberg <flangy@gmail.com> * Symlink manpage for todos.1 too.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/tofrodos.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/Formula/tofrodos.rb b/Library/Formula/tofrodos.rb
new file mode 100644
index 000000000..5bdfe83e6
--- /dev/null
+++ b/Library/Formula/tofrodos.rb
@@ -0,0 +1,15 @@
+require 'formula'
+
+class Tofrodos <Formula
+ url 'http://tofrodos.sourceforge.net/download/tofrodos-1.7.8.tar.gz'
+ homepage 'http://www.thefreecountry.com/tofrodos/index.shtml'
+ md5 'aaa044f9817a048e126d9eb7a7535e96'
+
+ def install
+ Dir.chdir 'src'
+ system "make"
+ bin.install %w[todos fromdos]
+ man1.install %w[fromdos.1]
+ ln_s man1+'fromdos.1', man1+'todos.1'
+ end
+end