[50446] trunk/dports/php/php5-xdebug/Portfile
ryandesign at macports.org
ryandesign at macports.org
Thu Apr 30 20:09:40 PDT 2009
Revision: 50446
http://trac.macports.org/changeset/50446
Author: ryandesign at macports.org
Date: 2009-04-30 20:09:39 -0700 (Thu, 30 Apr 2009)
Log Message:
-----------
php5-xdebug: use php5extension portgroup, with maintainer's approval
Modified Paths:
--------------
trunk/dports/php/php5-xdebug/Portfile
Modified: trunk/dports/php/php5-xdebug/Portfile
===================================================================
--- trunk/dports/php/php5-xdebug/Portfile 2009-05-01 03:02:13 UTC (rev 50445)
+++ trunk/dports/php/php5-xdebug/Portfile 2009-05-01 03:09:39 UTC (rev 50446)
@@ -1,10 +1,12 @@
# $Id$
PortSystem 1.0
-name php5-xdebug
-version 2.0.3
+PortGroup php5extension 1.0
-categories php net devel
+php5extension.setup xdebug 2.0.3
+php5extension.type zend
+revision 1
+categories-append net devel
platforms darwin freebsd openbsd
maintainers emory.smith at gmail.com openmaintainer
homepage http://www.xdebug.org/index.php
@@ -21,33 +23,17 @@
checksums md5 0735584168c8c9f111252128d0076d7c \
sha1 fb172b0a48203759facd499f6825527c6112e275 \
rmd160 e34dc1cb9c86d59bad18f8ef39c15f540c99f183
-distname xdebug-${version}
extract.suffix .tgz
-depends_lib path:bin/phpize:php5
configure.args --enable-xdebug --with-php-config=${prefix}/bin/php-config
-pre-configure {
- system "cd ${worksrcpath}; ${prefix}/bin/phpize"
-}
-
-destroot.destdir INSTALL_ROOT=${destroot}
-
post-install {
-
- set ini_file "${prefix}/etc/php.ini"
- set extension_file "${prefix}/lib/php/extensions/no-debug-non-zts-20060613/xdebug.so"
set xdebug_docs "http://www.xdebug.org/docs/"
ui_msg "
***************************************************************************
- * To enable the xdebug extension in php, add or edit the following
- * lines in ${ini_file}:
+ * You can get a list of the available configuration settings for xdebug
+ * with the following command:
*
- * zend_extension=\"${extension_file}\"
- *
- * Once the extension is installed, you can get a list of the available
- * configuration settings with the following command:
- *
* % php --ri xdebug
*
* For more information and details about configuration settings, see
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090430/3efe5bbc/attachment.html>
More information about the macports-changes
mailing list