[56336] trunk/dports/php
ryandesign at macports.org
ryandesign at macports.org
Tue Aug 25 23:46:40 PDT 2009
Revision: 56336
http://trac.macports.org/changeset/56336
Author: ryandesign at macports.org
Date: 2009-08-25 23:46:40 -0700 (Tue, 25 Aug 2009)
Log Message:
-----------
php5-sqlite: add sqlite3 module
php5-sqlite3: change into stub port that does nothing
Closes #20458
Modified Paths:
--------------
trunk/dports/php/php5-sqlite/Portfile
trunk/dports/php/php5-sqlite3/Portfile
Modified: trunk/dports/php/php5-sqlite/Portfile
===================================================================
--- trunk/dports/php/php5-sqlite/Portfile 2009-08-26 06:41:44 UTC (rev 56335)
+++ trunk/dports/php/php5-sqlite/Portfile 2009-08-26 06:46:40 UTC (rev 56336)
@@ -4,6 +4,7 @@
PortGroup php5extension 1.0
php5extension.setup sqlite 5.3.0 bundled
+revision 1
php5extension.use_phpize no
categories-append databases
platforms darwin
@@ -18,13 +19,14 @@
sha1 934700941d216c453376e3bf24347041cf12c6dc \
rmd160 9a71b74052b0ca515f2ddf95c051b47a73d33f44
-# Note that the sqlite extension uses the built-in sqlite2 libraries while
-# the pdo_sqlite extension uses the libraries from the sqlite3 port.
+# Note that the sqlite extension uses the built-in sqlite2 libraries while the
+# sqlite3 and pdo_sqlite extensions use the libraries from the sqlite3 port.
depends_lib-append port:sqlite3
configure.args-append --enable-pdo \
--with-sqlite=shared \
+ --with-sqlite3=shared,${prefix} \
--with-pdo-sqlite=shared,${prefix} \
--enable-sqlite-utf8
Modified: trunk/dports/php/php5-sqlite3/Portfile
===================================================================
--- trunk/dports/php/php5-sqlite3/Portfile 2009-08-26 06:41:44 UTC (rev 56335)
+++ trunk/dports/php/php5-sqlite3/Portfile 2009-08-26 06:46:40 UTC (rev 56336)
@@ -1,24 +1,32 @@
# -*- 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
# $Id$
-PortSystem 1.0
-PortGroup php5extension 1.0
+PortSystem 1.0
-php5extension.setup sqlite3 0.6 pecl
-revision 2
+name php5-sqlite3
+version 5.3.0
+categories php
+platforms darwin
+maintainers nox openmaintainer
+homepage http://www.php.net/sqlite3
-categories php databases
-platforms darwin
-maintainers nox openmaintainer
-description SQLite 3 bindings for PHP 5
+description obsolete port
-long_description \
- SQLite3 is a PHP extension for use with the SQLite 3 database system.
+long_description ${name} is obsolete and should be uninstalled. Please install php5-sqlite instead.
-checksums md5 700652f4a687fea38ef68a4bb3968c34 \
- sha1 51d65da3e829e06ffb67ba2d185ad2e0007155a5 \
- rmd160 e27b0d2b3b0e27b87599fbb9b6fc72780a83792d
+distfiles
-use_parallel_build yes
+use_configure no
-livecheck.regex {Release (\d+(?:\.\d+)*):}
+build {}
+
+destroot {
+ xinstall -d ${destroot}${prefix}/share/doc/${name}
+ system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
+}
+
+post-activate {
+ ui_msg ${long_description}
+}
+
+livecheck.check none
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090825/ca4b1694/attachment.html>
More information about the macports-changes
mailing list