pplatex: use https, modernize

Closes Homebrew/homebrew#35585.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Viktor Szakáts 2015-01-06 00:34:08 +01:00 committed by Jack Nagel
parent 8c7904ba6c
commit 574577e96e

View file

@ -1,17 +1,15 @@
require 'formula'
class Pplatex < Formula
homepage 'http://www.stefant.org/web/projects/software/pplatex.html'
url 'http://dl.dropbox.com/u/12697903/pplatex/pplatex-1.0-rc1-src.tar.gz'
sha1 'd437c64a8263eeb45ded4f57df8cce29080a92d0'
homepage "http://www.stefant.org/web/projects/software/pplatex.html"
url "https://dl.dropbox.com/u/12697903/pplatex/pplatex-1.0-rc1-src.tar.gz"
sha1 "d437c64a8263eeb45ded4f57df8cce29080a92d0"
depends_on 'scons' => :build
depends_on 'pcre'
depends_on "scons" => :build
depends_on "pcre"
depends_on :tex
def install
scons "PCREPATH=#{Formula["pcre"].opt_prefix}"
bin.install 'bin/pplatex', 'bin/ppdflatex'
bin.install "bin/pplatex", "bin/ppdflatex"
end
test do