aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/mftrace.rb19
1 files changed, 11 insertions, 8 deletions
diff --git a/Library/Formula/mftrace.rb b/Library/Formula/mftrace.rb
index 861138f4a..f52b8ecca 100644
--- a/Library/Formula/mftrace.rb
+++ b/Library/Formula/mftrace.rb
@@ -1,15 +1,18 @@
-require 'formula'
-
class Mftrace < Formula
- homepage 'http://lilypond.org/mftrace/'
- url 'http://lilypond.org/download/sources/mftrace/mftrace-1.2.18.tar.gz'
- sha1 '8ae5c69a49f3d34e021913b6378056a6d43c2fd2'
+ homepage "http://lilypond.org/mftrace/"
+ url "http://lilypond.org/download/sources/mftrace/mftrace-1.2.18.tar.gz"
+ sha256 "0d31065f1d35919e311d9170bbfcdacc58736e3f783311411ed1277aa09d3261"
- depends_on 'potrace'
- depends_on 't1utils'
+ depends_on "potrace"
+ depends_on "t1utils"
+ depends_on "fontforge" => [:recommended, :run]
def install
system "./configure", "--prefix=#{prefix}"
- system "make install"
+ system "make", "install"
+ end
+
+ test do
+ system "#{bin}/mftrace", "--version"
end
end