diff options
| author | Jack Nagel | 2012-05-10 18:38:53 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-05-10 18:38:53 -0500 |
| commit | ec0c55be78df1f089e2acca960fb1cbd6c089cee (patch) | |
| tree | 53c572b8e7718f342ac91e003a73124b97f3b32d /Library | |
| parent | 989e6c636689986c926a928b051e666962cb2f9c (diff) | |
| download | homebrew-ec0c55be78df1f089e2acca960fb1cbd6c089cee.tar.bz2 | |
fsh: formula cleanup
- Use inreplace instead of find/sed
- Specify infodir
- Various style nits
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/fsh.rb | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Library/Formula/fsh.rb b/Library/Formula/fsh.rb index e04140eb0..8a7640c0b 100644 --- a/Library/Formula/fsh.rb +++ b/Library/Formula/fsh.rb @@ -1,15 +1,18 @@ require 'formula' class Fsh < Formula - url 'http://www.lysator.liu.se/fsh/fsh-1.2.tar.gz' homepage 'http://www.lysator.liu.se/fsh/' + url 'http://www.lysator.liu.se/fsh/fsh-1.2.tar.gz' md5 '74d7fc65044d1c9c27c6e9edbbde9c68' def install # FCNTL was deprecated and needs to be changed to fcntl - system "find . -type f -exec sed -i \"\" 's/FCNTL/fcntl/g' {} \\;" + inreplace 'fshcompat.py', 'FCNTL', 'fcntl' - system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking" + system "./configure", "--disable-debug", + "--disable-dependency-tracking", + "--prefix=#{prefix}", + "--infodir=#{info}" system "make install" cd bin do |
