fop - link shell script into bin
parent
bb7479d680
commit
338d4f475d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue