diff options
| author | Adam Vandenberg | 2010-07-06 07:52:37 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-07-06 07:52:37 -0700 |
| commit | 90119fff1e6f91ebfcd6b37047ff17d5e768f8ba (patch) | |
| tree | 56a5bcac2195884ab7ae2baf76d52f97a15495d7 /Library/Formula | |
| parent | 98f8fbeaf89c90ebac133b3455eb1c566068c3f2 (diff) | |
| download | homebrew-90119fff1e6f91ebfcd6b37047ff17d5e768f8ba.tar.bz2 | |
fop - link shell script into bin
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/fop.rb | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Library/Formula/fop.rb b/Library/Formula/fop.rb index 0bfab5c52..1358382a1 100644 --- a/Library/Formula/fop.rb +++ b/Library/Formula/fop.rb @@ -6,7 +6,15 @@ class Fop <Formula md5 "7af50bf58924dd22d71d22d8ad90b268" aka 'apache-fop' + def shim_script target + <<-EOS.undent + #!/bin/bash + #{libexec}/#{target} $* + EOS + end + def install - prefix.install Dir["*"] + libexec.install Dir["*"] + (bin+'fop').write shim_script('fop') end end |
