fop - link shell script into bin

master
Adam Vandenberg 2010-07-06 07:52:37 -07:00
parent bb7479d680
commit 338d4f475d
1 changed files with 9 additions and 1 deletions

View File

@ -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