renameutils: modernize

This commit is contained in:
Xu Cheng 2014-12-31 21:42:56 +08:00 committed by Mike McQuaid
parent 93e9d349fb
commit 2630b6ecfa

View file

@ -1,12 +1,10 @@
require 'formula'
class Renameutils < Formula
homepage 'http://www.nongnu.org/renameutils/'
url 'http://download.savannah.gnu.org/releases/renameutils/renameutils-0.12.0.tar.gz'
sha1 '8c6edae4ee374330a01a95257fd552b5cb7540bc'
homepage "http://www.nongnu.org/renameutils/"
url "http://download.savannah.gnu.org/releases/renameutils/renameutils-0.12.0.tar.gz"
sha1 "8c6edae4ee374330a01a95257fd552b5cb7540bc"
depends_on 'readline' # Use instead of system libedit
depends_on 'coreutils'
depends_on "readline" # Use instead of system libedit
depends_on "coreutils"
# Use the GNU versions of certain system utilities. See:
# https://trac.macports.org/ticket/24525
@ -22,7 +20,7 @@ class Renameutils < Formula
"--with-packager=Homebrew"
system "make"
ENV.deparallelize # parallel install fails
system "make install"
system "make", "install"
end
end