[111233] trunk/dports/databases/postgis2/Portfile
vince at macports.org
vince at macports.org
Tue Sep 17 08:27:29 PDT 2013
Revision: 111233
https://trac.macports.org/changeset/111233
Author: vince at macports.org
Date: 2013-09-17 08:27:29 -0700 (Tue, 17 Sep 2013)
Log Message:
-----------
Add postgresql93 variant
Modified Paths:
--------------
trunk/dports/databases/postgis2/Portfile
Modified: trunk/dports/databases/postgis2/Portfile
===================================================================
--- trunk/dports/databases/postgis2/Portfile 2013-09-17 14:07:56 UTC (rev 111232)
+++ trunk/dports/databases/postgis2/Portfile 2013-09-17 15:27:29 UTC (rev 111233)
@@ -50,8 +50,8 @@
# Neither is PostGIS 2.0 compatible with PostGreSQL 8
-variant postgresql90 description {Builds with postgresql 9.0} \
- conflicts postgresql91 postgresql92 {
+variant postgresql90 description {Builds with postgresql 9.0 – Deprecated} \
+ conflicts postgresql91 postgresql92 postgresql93 {
depends_lib-append port:postgresql90
archcheck.files-append lib/postgresql90/libpq.dylib
configure.args-append --libdir=${prefix}/lib/postgresql90\
@@ -61,7 +61,7 @@
}
variant postgresql91 description {Builds with postgresql 9.1} \
- conflicts postgresql90 postgresql92 {
+ conflicts postgresql90 postgresql92 postgresql93 {
depends_lib-append port:postgresql91
archcheck.files-append lib/postgresql91/libpq.dylib
configure.args-append --libdir=${prefix}/lib/postgresql91\
@@ -71,15 +71,25 @@
}
variant postgresql92 description {Builds with postgresql 9.2} \
- conflicts postgresql90 postgresql91 {
+ conflicts postgresql90 postgresql91 postgresql93 {
depends_lib-append port:postgresql92
archcheck.files-append lib/postgresql92/libpq.dylib
configure.args-append --libdir=${prefix}/lib/postgresql92\
--with-pgconfig=${prefix}/lib/postgresql92/bin/pg_config
- build.args-append PGSQL_DOCDIR=${destroot}${prefix}/share/doc/postgresql91\
+ build.args-append PGSQL_DOCDIR=${destroot}${prefix}/share/doc/postgresql92\
PGSQL_MANDIR=${destroot}${prefix}/share/man
}
+variant postgresql93 description {Builds with postgresql 9.3} \
+ conflicts postgresql90 postgresql91 postgresql92 {
+ depends_lib-append port:postgresql93
+ archcheck.files-append lib/postgresql93/libpq.dylib
+ configure.args-append --libdir=${prefix}/lib/postgresql93\
+ --with-pgconfig=${prefix}/lib/postgresql93/bin/pg_config
+ build.args-append PGSQL_DOCDIR=${destroot}${prefix}/share/doc/postgresql93\
+ PGSQL_MANDIR=${destroot}${prefix}/share/man
+}
+
variant raster description {Build raster support} {
depends_lib-append port:gdal
@@ -115,18 +125,14 @@
default_variants +raster +topology
-if {![variant_isset postgresql90] && ![variant_isset postgresql91] && ![variant_isset postgresql92]} {
+if {![variant_isset postgresql90] && ![variant_isset postgresql91] && \
+ ![variant_isset postgresql92] && ![variant_isset postgresql93]} {
default_variants +postgresql92
}
# Port phases
pre-configure {
- if {[variant_isset postgresql90]} {
- set PGVERSION postgresql90
- } elseif {[variant_isset postgresql91]} {
- set PGVERSION postgresql91
- }
system -W ${worksrcpath} "./autogen.sh"
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130917/8b2302ac/attachment.html>
More information about the macports-changes
mailing list