[54571] trunk/dports/php

ryandesign at macports.org ryandesign at macports.org
Wed Jul 29 10:59:41 PDT 2009


Revision: 54571
          http://trac.macports.org/changeset/54571
Author:   ryandesign at macports.org
Date:     2009-07-29 10:59:41 -0700 (Wed, 29 Jul 2009)
Log Message:
-----------
php5-postgresql: new port, see #19091

Added Paths:
-----------
    trunk/dports/php/php5-postgresql/
    trunk/dports/php/php5-postgresql/Portfile

Added: trunk/dports/php/php5-postgresql/Portfile
===================================================================
--- trunk/dports/php/php5-postgresql/Portfile	                        (rev 0)
+++ trunk/dports/php/php5-postgresql/Portfile	2009-07-29 17:59:41 UTC (rev 54571)
@@ -0,0 +1,44 @@
+# $Id$
+
+PortSystem                      1.0
+PortGroup                       php5extension 1.0
+
+php5extension.setup             postgresql 5.3.0 bundled
+categories-append               databases
+platforms                       darwin
+maintainers                     ryandesign
+
+description                     a PHP interface to PostgreSQL, including \
+                                the pgsql and pdo_pgsql extensions
+
+long_description                ${description}
+
+checksums                       md5     846760cd655c98dfd86d6d97c3d964b0 \
+                                sha1    934700941d216c453376e3bf24347041cf12c6dc \
+                                rmd160  9a71b74052b0ca515f2ddf95c051b47a73d33f44
+
+configure.args-append           --enable-pdo
+
+use_parallel_build              yes
+
+variant postgresql82 conflicts postgresql83 postgresql84 description {Use PostgreSQL 8.2 libraries} {
+    depends_lib-append          port:postgresql82
+    configure.args-append       --with-pgsql=shared,${prefix}/lib/postgresql82/bin \
+                                --with-pdo-pgsql=shared,${prefix}/lib/postgresql82/bin
+}
+
+variant postgresql83 conflicts postgresql82 postgresql84 description {Use PostgreSQL 8.3 libraries} {
+    depends_lib-append          port:postgresql83
+    configure.args-append       --with-pgsql=shared,${prefix}/lib/postgresql83/bin \
+                                --with-pdo-pgsql=shared,${prefix}/lib/postgresql83/bin
+}
+
+variant postgresql84 conflicts postgresql82 postgresql83 description {Use PostgreSQL 8.4 libraries (default)} {
+    depends_lib-append          port:postgresql84
+    configure.args-append       --with-pgsql=shared,${prefix}/lib/postgresql84/bin \
+                                --with-pdo-pgsql=shared,${prefix}/lib/postgresql84/bin
+}
+
+if {![variant_isset postgresql82] && ![variant_isset postgresql83]} {
+    default_variants +postgresql84
+}


Property changes on: trunk/dports/php/php5-postgresql/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090729/1208bfe8/attachment.html>


More information about the macports-changes mailing list