2011-01-20 22:02:03 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Ttf2pt1 < Formula
|
|
|
|
homepage 'http://ttf2pt1.sourceforge.net/'
|
2012-03-18 03:49:46 +00:00
|
|
|
url 'http://downloads.sourceforge.net/ttf2pt1/ttf2pt1-3.4.4.tgz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '936771b11a740c16a8e0adb737b54b22cca18cb2'
|
2011-01-20 22:02:03 +00:00
|
|
|
|
|
|
|
def patches
|
|
|
|
# From MacPorts, needed to find free-type on OS X.
|
|
|
|
{ 'p0' =>
|
2012-01-23 01:09:28 +00:00
|
|
|
"https://trac.macports.org/export/75341/trunk/dports/print/ttf2pt1/files/patch-ft.c"
|
2011-01-20 22:02:03 +00:00
|
|
|
}
|
|
|
|
end
|
|
|
|
|
|
|
|
def install
|
2012-03-18 03:49:46 +00:00
|
|
|
system "make", "all", "INSTDIR=#{prefix}"
|
2011-01-20 22:02:03 +00:00
|
|
|
bin.install 'ttf2pt1'
|
|
|
|
man1.install 'ttf2pt1.1'
|
|
|
|
end
|
|
|
|
end
|