Prefer :using over made-up URL schemes

This commit is contained in:
Jack Nagel 2014-12-18 13:06:05 -05:00
parent e8f9b0da28
commit 7e0ae2acae
14 changed files with 13 additions and 16 deletions

View file

@ -2,7 +2,7 @@ require 'formula'
class Disktype < Formula
homepage 'http://disktype.sourceforge.net/'
head 'cvs://:pserver:anonymous:@disktype.cvs.sourceforge.net:/cvsroot/disktype:disktype'
head ':pserver:anonymous:@disktype.cvs.sourceforge.net:/cvsroot/disktype:disktype', :using => :cvs
url 'https://downloads.sourceforge.net/project/disktype/disktype/9/disktype-9.tar.gz'
sha1 '5ccc55d1c47f9a37becce7336c4aa3a7a43cc89c'

View file

@ -2,7 +2,7 @@ require "formula"
class Fossil < Formula
homepage "http://www.fossil-scm.org/"
head "fossil://http://www.fossil-scm.org/"
head "http://www.fossil-scm.org/", :using => :fossil
url "http://www.fossil-scm.org/download/fossil-src-20140612172556.tar.gz"
sha1 "173c3350ba39ecfee6e660f866b4f3104e351b33"
version "1.29"

View file

@ -13,7 +13,7 @@ class Global < Formula
end
head do
url "cvs://:pserver:anonymous:@cvs.savannah.gnu.org:/sources/global:global"
url ":pserver:anonymous:@cvs.savannah.gnu.org:/sources/global:global", :using => :cvs
depends_on "autoconf" => :build
depends_on "automake" => :build

View file

@ -19,7 +19,7 @@ class Gnuplot < Formula
end
head do
url 'cvs://:pserver:anonymous:@gnuplot.cvs.sourceforge.net:/cvsroot/gnuplot:gnuplot'
url ':pserver:anonymous:@gnuplot.cvs.sourceforge.net:/cvsroot/gnuplot:gnuplot', :using => :cvs
depends_on "autoconf" => :build
depends_on "automake" => :build

View file

@ -4,7 +4,7 @@ class Graphicsmagick < Formula
homepage 'http://www.graphicsmagick.org/'
url 'https://downloads.sourceforge.net/project/graphicsmagick/graphicsmagick/1.3.20/GraphicsMagick-1.3.20.tar.bz2'
sha256 '7caf27691ec21682de1f0259c9243725db7cdeca699c40958c28aece99e4f1dc'
head 'hg://http://graphicsmagick.hg.sourceforge.net:8000/hgroot/graphicsmagick/graphicsmagick'
head 'http://graphicsmagick.hg.sourceforge.net:8000/hgroot/graphicsmagick/graphicsmagick', :using => :hg
bottle do
sha1 "3e681ecf2e126ee5322a6c05e4228670de8b7f8e" => :mavericks

View file

@ -18,7 +18,7 @@ class Id3lib < Formula
end
end
head "cvs://:pserver:anonymous:@id3lib.cvs.sourceforge.net:/cvsroot/id3lib:id3lib-devel"
head ":pserver:anonymous:@id3lib.cvs.sourceforge.net:/cvsroot/id3lib:id3lib-devel", :using => :cvs
bottle do
cellar :any

View file

@ -2,7 +2,7 @@ require 'formula'
class Libowfat < Formula
homepage 'http://www.fefe.de/libowfat/'
head 'cvs://:pserver:cvs:@cvs.fefe.de:/cvs:libowfat'
head ':pserver:cvs:@cvs.fefe.de:/cvs:libowfat', :using => :cvs
url 'http://dl.fefe.de/libowfat-0.29.tar.bz2'
sha1 'f944ebac326f4a8bd1437ff995d0b8201280434c'

View file

@ -14,7 +14,7 @@ class Libspatialite < Formula
end
head do
url "fossil://https://www.gaia-gis.it/fossil/libspatialite"
url "https://www.gaia-gis.it/fossil/libspatialite", :using => :fossil
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build

View file

@ -5,7 +5,7 @@ class Log4c < Formula
url 'https://downloads.sourceforge.net/project/log4c/log4c/1.2.4/log4c-1.2.4.tar.gz'
sha1 'a2795d7fcbdf5e43e1cc644893adfa725046abe8'
head 'cvs://:pserver:anonymous:@log4c.cvs.sourceforge.net:/cvsroot/log4c:log4c'
head ':pserver:anonymous:@log4c.cvs.sourceforge.net:/cvsroot/log4c:log4c', :using => :cvs
def install
system "./configure", "--prefix=#{prefix}"

View file

@ -4,7 +4,7 @@ class Ncp < Formula
homepage "http://www.fefe.de/ncp/"
url "http://dl.fefe.de/ncp-1.2.4.tar.bz2"
sha1 "bd33e5311c249948559d17bfd59df93ae72e1f17"
head "cvs://:pserver:cvs:@cvs.fefe.de:/cvs:ncp"
head ":pserver:cvs:@cvs.fefe.de:/cvs:ncp", :using => :cvs
depends_on "libowfat"

View file

@ -4,7 +4,7 @@ class Netpbm < Formula
homepage 'http://netpbm.sourceforge.net'
# Maintainers: Look at http://netpbm.svn.sourceforge.net/viewvc/netpbm/
# for versions and matching revisions
url 'svn+http://svn.code.sf.net/p/netpbm/code/advanced/', :revision => 2294
url 'http://svn.code.sf.net/p/netpbm/code/advanced', :revision => 2294
version '10.68'
head 'http://svn.code.sf.net/p/netpbm/code/trunk'

View file

@ -13,9 +13,6 @@ class Openexr < Formula
sha1 "f32df24d8a0c74d0b8e53b9e0e15d60dceaf0b6a" => :mountain_lion
end
# included for reference only - repository doesn't have 'configure' script
# head 'cvs://:pserver:anonymous@cvs.sv.gnu.org:/sources/openexr:OpenEXR'
depends_on 'pkg-config' => :build
depends_on 'ilmbase'

View file

@ -6,7 +6,7 @@ class UpnpRouterControl < Formula
sha1 '4d6b22430f784260fccb2f70c27d0a428b9a753a'
head do
url 'bzr://lp:upnp-router-control'
url 'lp:upnp-router-control', :using => :bzr
depends_on "autoconf" => :build
depends_on "automake" => :build

View file

@ -13,7 +13,7 @@ class Vcprompt < Formula
end
head do
url 'hg://https://bitbucket.org/gward/vcprompt'
url 'https://bitbucket.org/gward/vcprompt', :using => :hg
depends_on "autoconf" => :build
end