diff options
| author | syntaxerrormmm | 2011-01-20 23:02:03 +0100 |
|---|---|---|
| committer | Adam Vandenberg | 2011-01-22 10:15:19 -0800 |
| commit | 27edd0b1a290ac1304fc763f1ac02e43ad141c0f (patch) | |
| tree | 71e613b365b4a4ef4546eb701d87e3b60ab1a5c5 /Library/Formula | |
| parent | 9b26965133b6fe2f1058561a9a14bdedae609144 (diff) | |
| download | homebrew-27edd0b1a290ac1304fc763f1ac02e43ad141c0f.tar.bz2 | |
Added new formula: ttf2pt1
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/ttf2pt1.rb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Library/Formula/ttf2pt1.rb b/Library/Formula/ttf2pt1.rb new file mode 100644 index 000000000..d50d71ba6 --- /dev/null +++ b/Library/Formula/ttf2pt1.rb @@ -0,0 +1,21 @@ +require 'formula' + +class Ttf2pt1 < Formula + url 'http://downloads.sourceforge.net/ttf2pt1/ttf2pt1-3.4.4.tgz' + homepage 'http://ttf2pt1.sourceforge.net/' + md5 'cb143c07cc83167875ca09ea720d4932' + + def patches + # From MacPorts, needed to find free-type on OS X. + { 'p0' => + "http://trac.macports.org/export/75341/trunk/dports/print/ttf2pt1/files/patch-ft.c" + } + end + + def install + inreplace 'Makefile', /^INSTDIR.*$/, "INSTDIR=#{prefix}" + system "make all" + bin.install 'ttf2pt1' + man1.install 'ttf2pt1.1' + end +end |
