diff options
| author | Alexis Hildebrandt | 2010-09-09 21:38:22 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2010-09-09 12:50:55 -0700 |
| commit | ce7e43a59a56b5e5be0d535f25776fabba2ffa0c (patch) | |
| tree | 481737c8230c5bda8d97ae48937a66892bb282f9 /Library/Formula | |
| parent | cde240569f5fe3145533f9ee50def9058a5097bc (diff) | |
| download | homebrew-ce7e43a59a56b5e5be0d535f25776fabba2ffa0c.tar.bz2 | |
Update Formula: fontforge
Make formula installable as non-superuser
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/fontforge.rb | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/Library/Formula/fontforge.rb b/Library/Formula/fontforge.rb index 8ae2d0c0b..986880c49 100644 --- a/Library/Formula/fontforge.rb +++ b/Library/Formula/fontforge.rb @@ -11,14 +11,27 @@ class Fontforge <Formula depends_on 'potrace' def install - system "./configure", "--enable-double", - "--without-freetype-bytecode", "--without-python", - "--prefix=#{prefix}" + system "./configure", "--prefix=#{prefix}", + "--enable-double", + "--without-freetype-bytecode", + "--without-python" + + inreplace "Makefile" do |s| + s.gsub! "/Applications", "$(prefix)" + s.gsub! "/usr/local/bin", "$(bindir)" + end + system "make" system "make install" end - def caveats - "'fontforge' is an X11 application." + def caveats; <<-EOS.undent + fontforge is an X11 application. + + To install the Mac OS X wrapper application run: + $ brew linkapps + or: + $ sudo ln -s #{prefix}/FontForge.app /Applications + EOS end end |
