From 59aa3a71c2c66f6c8d01ddfb826678a8f39f7cf8 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Thu, 7 Aug 2014 19:20:21 +0100 Subject: [PATCH] freeling: cleanup styling. --- Formula/freeling.rb | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/Formula/freeling.rb b/Formula/freeling.rb index 57d6e26a18f..7320c361c71 100644 --- a/Formula/freeling.rb +++ b/Formula/freeling.rb @@ -1,26 +1,26 @@ -require 'formula' +require "formula" class Freeling < Formula - homepage 'http://nlp.lsi.upc.edu/freeling/' - url 'http://devel.cpl.upc.edu/freeling/downloads/32' - version '3.1' - sha1 '42dbf7eec6e5c609e10ccc60768652f220d24771' + homepage "http://nlp.lsi.upc.edu/freeling/" + url "http://devel.cpl.upc.edu/freeling/downloads/32" + version "3.1" + sha1 "42dbf7eec6e5c609e10ccc60768652f220d24771" - depends_on 'icu4c' - depends_on 'boost' => 'with-icu' - depends_on 'libtool' => :build + depends_on "icu4c" + depends_on "boost" => "with-icu" + depends_on "libtool" => :build def install - icu4c = Formula['icu4c'] - libtool = Formula['libtool'] - ENV.append 'LDFLAGS', "-L#{libtool.lib}" - ENV.append 'LDFLAGS', "-L#{icu4c.lib}" - ENV.append 'CPPFLAGS', "-I#{libtool.include}" - ENV.append 'CPPFLAGS', "-I#{icu4c.include}" + icu4c = Formula["icu4c"] + libtool = Formula["libtool"] + ENV.append "LDFLAGS", "-L#{libtool.lib}" + ENV.append "LDFLAGS", "-L#{icu4c.lib}" + ENV.append "CPPFLAGS", "-I#{libtool.include}" + ENV.append "CPPFLAGS", "-I#{icu4c.include}" system "./configure", "--prefix=#{prefix}", "--enable-boost-locale" - system "make install" + system "make", "install" end test do