aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorKashif Rasul2014-05-29 10:41:11 +0200
committerJack Nagel2014-05-29 18:53:19 -0500
commitbda3538124a41852d3845112e9ca1f165227cfaa (patch)
tree4c1f392fe04f46b8ef29a329c2a3ea4f69798710 /Library/Formula
parent45a366f1fca04da69215d1bddadb805cde0b79b5 (diff)
downloadhomebrew-bda3538124a41852d3845112e9ca1f165227cfaa.tar.bz2
postgis 2.1.3
added recommended dependency on sfcgal Closes #29681. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/postgis.rb9
1 files changed, 6 insertions, 3 deletions
diff --git a/Library/Formula/postgis.rb b/Library/Formula/postgis.rb
index 6e78e6409..e38112d67 100644
--- a/Library/Formula/postgis.rb
+++ b/Library/Formula/postgis.rb
@@ -2,8 +2,8 @@ require 'formula'
class Postgis < Formula
homepage 'http://postgis.net'
- url 'http://download.osgeo.org/postgis/source/postgis-2.1.2.tar.gz'
- sha1 '4ab1e344aec70c0a475dadd48a3e8377d22d27ad'
+ url 'http://download.osgeo.org/postgis/source/postgis-2.1.3.tar.gz'
+ sha256 'c17812aa4bb86ed561dfc65cb42ab45176b94e0620de183a4bbd773d6d876ec1'
head 'http://svn.osgeo.org/postgis/trunk/'
@@ -25,6 +25,9 @@ class Postgis < Formula
depends_on 'json-c'
depends_on 'gdal' => :recommended
+ # For advanced 2D/3D functions
+ depends_on 'sfcgal' => :recommended
+
def install
# Follow the PostgreSQL linked keg back to the active Postgres installation
# as it is common for people to avoid upgrading Postgres.
@@ -101,7 +104,7 @@ class Postgis < Formula
To create a spatially-enabled database, see the documentation:
http://postgis.net/docs/manual-2.1/postgis_installation.html#create_new_db_extensions
If you are currently using PostGIS 2.0+, you can go the soft upgrade path:
- ALTER EXTENSION postgis UPDATE TO "2.1.2";
+ ALTER EXTENSION postgis UPDATE TO "2.1.3";
Users of 1.5 and below will need to go the hard-upgrade path, see here:
http://postgis.net/docs/manual-2.1/postgis_installation.html#upgrading