|
|||||||||
Wednesday the 17th of March, 2010 |
|||||||||
postgis most recent diffversion 1.4.0
Scroll down toward the bottom of the page to get installation instructions for postgis. The raw portfile for postgis 1.4.0 is located here: http://postgis.darwinports.com/dports/databases/postgis/Portfile Find related portfiles with the unique DarwinPorts.com search feature. Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/postgis # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 The postgis Portfile 56900 2009-09-03 12:11:45Z nox PortSystem 1.0 Name: postgis Version: 1.4.0 Revision: 1 Category: databases Platform: darwin Maintainers: nomaintainer Description: adds support for geographic objects to the postgresql database Long Description: PostGIS adds support for geographic objects to the PostgreSQL object-relational database. In effect, PostGIS \"spatially enables\" the PostgreSQL server, allowing it to be used as a backend spatial database for geographic information systems (GIS), much like ESRI's SDE or Oracle's Spatial extension. PostGIS follows the OpenGIS Simple Features Specification for SQL and will be submitted for conformance testing at version 1.0. Homepage: http://postgis.refractions.net/ Master Sites: ${homepage}download/ Checksums: md5 bc5b97d5399bd20ca90bfdf784ab6c33 sha1 454d87021c46c9fa4f657819e31a74b8fc75193a rmd160 e5f6cb7ddc78f7c20954b0aa3a3906e31581a1d7 depends_build port:docbook-xsl port:libxslt depends_lib port:geos port:proj port:libiconv configure.args --datadir=${prefix}/share/${name} --with-projdir=${prefix} build.target-append comments build.args ICONV_LDFLAGS='-L${prefix}/lib -liconv' destroot.target-append docs-install comments-install set pgsql_suffixes {82 83 84} set pgsql_ports {} foreach s ${pgsql_suffixes} { lappend pgsql_ports postgresql${s} } foreach s ${pgsql_suffixes} { set p postgresql${s} set v [string index ${s} 0].[string index ${s} 1] set i [lsearch -exact ${pgsql_ports} ${p}] set c [lreplace ${pgsql_ports} ${i} ${i}] eval [subst { variant ${p} description "Build with PostgreSQL ${v}" conflicts ${c} { post-patch { set args { PGSQL_DOCDIR=${destroot}${prefix}/share/doc/${p} PGSQL_MANDIR=${destroot}${prefix}/share/man PGSQL_SHAREDIR=${destroot}${prefix}/share/${p} } reinplace -E "/doc .*install\\\$/s|\\\$| \[join \${args}\]|" ${worksrcpath}/GNUmakefile } depends_lib-append port:${p} configure.args-append --libdir=${prefix}/lib/${p} --with-pgconfig=${prefix}/lib/${p}/bin/pg_config build.args-append PGSQL_DOCDIR=${destroot}${prefix}/share/doc/${p} PGSQL_MANDIR=${destroot}${prefix}/share/man } }] } proc has_pgsql_variant {} { global pgsql_ports foreach p ${pgsql_ports} { if {[variant_isset ${p}]} { return 1 } } return 0 } if {![has_pgsql_variant]} { set p [lindex ${pgsql_ports} end] default_variants +${p} if {![has_pgsql_variant]} { error "One of the following variants must be set: [join ${pgsql_ports}]" } } livecheck.type regex livecheck.url ${master_sites} livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)\\.tar If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page. Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:
% cd /opt/local/bin/portslocation/dports/postgisYou will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to: Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using postgis with these commands: % man postgis Where to find more information:
|
![]() |
![]()
Order Snow Leopard MacOSX 10.6 for only $29!
Other Helpful SitesMacOSForgeDebian Packages MacPorts - SVN Freshports - FreeBSD Fink Package List RPM for MacOSX Port Categories
accounting
amusements aqua archivers audio benchmarks biology blinkenlights cad chat chinese comms compression cross crypto databases devel editors education electronics emacs emulators erlang finance fonts framework fuse games genealogy gis gnome gnustep graphics gtk haskell iphone irc japanese java kde kde4 lang macports math mercurial ml mono multimedia net network news ocaml office palm parallel perl php pim project python reporting rox ruby russian scheme science security shells spelling squeak sysutils tcl tex textproc tk unicode vnc win32 wsn www x11 x11-font x11-wm xfce zope
Current SVN DownloadsDarwin Ports Current :nightly SVN snapshot SSH Key Gen See also: GNU-Darwin Ports for GNU-only software |
|||||||
| |




