ttf2pt1: remove inplace

This commit is contained in:
Adam Vandenberg 2012-03-17 20:49:46 -07:00
parent 0f91974435
commit 9135810b4c

View file

@ -1,8 +1,8 @@
require 'formula'
class Ttf2pt1 < Formula
url 'http://downloads.sourceforge.net/ttf2pt1/ttf2pt1-3.4.4.tgz'
homepage 'http://ttf2pt1.sourceforge.net/'
url 'http://downloads.sourceforge.net/ttf2pt1/ttf2pt1-3.4.4.tgz'
md5 'cb143c07cc83167875ca09ea720d4932'
def patches
@ -13,8 +13,7 @@ class Ttf2pt1 < Formula
end
def install
inreplace 'Makefile', /^INSTDIR.*$/, "INSTDIR=#{prefix}"
system "make all"
system "make", "all", "INSTDIR=#{prefix}"
bin.install 'ttf2pt1'
man1.install 'ttf2pt1.1'
end