diff options
| author | Peter Eisentraut | 2013-07-19 10:44:57 -0400 |
|---|---|---|
| committer | Adam Vandenberg | 2013-07-19 10:39:40 -0700 |
| commit | a2223af0f220593e7464edb1386cf7f4ec8bc6c0 (patch) | |
| tree | 37092f2bba6b9bfb16eb0bcc8a911009339c1aac /Library | |
| parent | 18b47d635681dd72ef4c33b801c063a87c84fc9c (diff) | |
| download | homebrew-a2223af0f220593e7464edb1386cf7f4ec8bc6c0.tar.bz2 | |
fop: Add hyphenation patterns
Install compiled hyphenation patterns for FOP per instructions at
http://offo.sourceforge.net/hyphenation/binary/installation.html and
https://xmlgraphics.apache.org/fop/trunk/hyphenation.html.
Closes #21326.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/fop.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Library/Formula/fop.rb b/Library/Formula/fop.rb index 6fb229465..3c745fe66 100644 --- a/Library/Formula/fop.rb +++ b/Library/Formula/fop.rb @@ -1,5 +1,11 @@ require 'formula' +class FopHyph < Formula + homepage 'http://offo.sourceforge.net/hyphenation/' + url 'http://downloads.sourceforge.net/project/offo/offo-hyphenation-utf8/0.1/offo-hyphenation-fop-stable-utf8.zip' + sha1 'c2a3f6e985b21c9702a714942ac747864c8b1759' +end + class Fop < Formula homepage "http://xmlgraphics.apache.org/fop/index.html" url "http://www.apache.org/dyn/closer.cgi?path=/xmlgraphics/fop/binaries/fop-1.1-bin.tar.gz" @@ -8,5 +14,9 @@ class Fop < Formula def install libexec.install Dir["*"] bin.write_exec_script libexec/'fop' + + FopHyph.new.brew do + (libexec/'build').install 'fop-hyph.jar' + end end end |
