{ "name": "Postgis", "description": "Adds support for geographic objects to PostgreSQL", "url": "https://download.osgeo.org/postgis/source/postgis-2.5.2.tar.gz", "mirror": null, "homepage": "https://postgis.net/", "depends": [ { "depend": "autoconf", "build-depend": true }, { "depend": "automake", "build-depend": true }, { "depend": "libtool", "build-depend": true }, { "depend": "gpp", "build-depend": true }, { "depend": "pkg-config", "build-depend": true }, { "depend": "gdal", "build-depend": false }, { "depend": "geos", "build-depend": false }, { "depend": "json-c", "build-depend": false }, { "depend": "pcre", "build-depend": false }, { "depend": "postgresql", "build-depend": false }, { "depend": "proj", "build-depend": false }, { "depend": "protobuf-c", "build-depend": false }, { "depend": "sfcgal", "build-depend": false } ], "resource": [], "conflicts": [], "patches": [], "install": [ "ENV.deparallelize", "args = [", "\"--with-projdir=#{Formula[\"proj\"].opt_prefix}\",", "\"--with-jsondir=#{Formula[\"json-c\"].opt_prefix}\",", "\"--with-pgconfig=#{Formula[\"postgresql\"].opt_bin}/pg_config\",", "\"--with-protobufdir=#{Formula[\"protobuf-c\"].opt_bin}\",", "\"--disable-nls\",", "]", "system \"./autogen.sh\" if build.head?", "system \"./configure\", *args", "system \"make\"", "mkdir \"stage\"", "system \"make\", \"install\", \"DESTDIR=#{buildpath}/stage\"", "bin.install Dir[\"stage/**/bin/*\"]", "lib.install Dir[\"stage/**/lib/*\"]", "include.install Dir[\"stage/**/include/*\"]", "(doc/\"postgresql/extension\").install Dir[\"stage/**/share/doc/postgresql/extension/*\"]", "(share/\"postgresql/extension\").install Dir[\"stage/**/share/postgresql/extension/*\"]", "pkgshare.install Dir[\"stage/**/contrib/postgis-*/*\"]", "(share/\"postgis_topology\").install Dir[\"stage/**/contrib/postgis_topology-*/*\"]", "bin.install %w[", "utils/create_undef.pl", "utils/postgis_proc_upgrade.pl", "utils/postgis_restore.pl", "utils/profile_intersects.pl", "utils/test_estimation.pl", "utils/test_geography_estimation.pl", "utils/test_geography_joinestimation.pl", "utils/test_joinestimation.pl", "]", "man1.install Dir[\"doc/**/*.1\"]" ], "version": "2.5.2", "file": "postgis.rb" }