unix2dos - use MacPort's stable download.

master
Adam Vandenberg 2010-08-09 11:46:23 -07:00
parent b46cf0c89b
commit 5287dd33cb
1 changed files with 3 additions and 4 deletions

View File

@ -1,14 +1,13 @@
require 'formula' require 'formula'
class Unix2dos < Formula class Unix2dos < Formula
url 'http://www.sfr-fresh.com/linux/misc/old/unix2dos-2.2.src.tar.gz' url 'http://trac.macports.org/export/31021/distfiles/unix2dos/unix2dos-2.2.src.tar.gz'
md5 'caf9f33155073d3efd310eff9103170b' md5 'caf9f33155073d3efd310eff9103170b'
homepage 'http://www.sfr-fresh.com/linux/misc/' homepage 'http://en.wikipedia.org/wiki/Unix2dos'
def install def install
# we don't use the Makefile as it doesn't optimize # Don't use the Makefile as it doesn't optimize
system "#{ENV.cc} #{ENV['CFLAGS']} unix2dos.c -o unix2dos" system "#{ENV.cc} #{ENV['CFLAGS']} unix2dos.c -o unix2dos"
bin.install "unix2dos" bin.install "unix2dos"
man1.install "unix2dos.1" man1.install "unix2dos.1"
end end