[27706] trunk/dports/www

source_changes at macosforge.org source_changes at macosforge.org
Sun Aug 12 07:11:04 PDT 2007


Revision: 27706
          http://trac.macosforge.org/projects/macports/changeset/27706
Author:   yves at macports.org
Date:     2007-08-12 07:11:03 -0700 (Sun, 12 Aug 2007)

Log Message:
-----------
New port ticket:12384

Added Paths:
-----------
    trunk/dports/www/php5-xdebug/
    trunk/dports/www/php5-xdebug/Portfile

Added: trunk/dports/www/php5-xdebug/Portfile
===================================================================
--- trunk/dports/www/php5-xdebug/Portfile	                        (rev 0)
+++ trunk/dports/www/php5-xdebug/Portfile	2007-08-12 14:11:03 UTC (rev 27706)
@@ -0,0 +1,54 @@
+
+PortSystem 1.0
+name              php5-xdebug
+version           2.0.0
+
+categories        www net devel
+platforms         darwin freebsd openbsd
+maintainers       emory.smith at gmail.com openmaintainer at macports.org
+homepage          http://www.xdebug.org/index.php
+description       php5 extension for php debugging
+long_description \
+    Xdebug is a php extension that helps you debug your scripts. It \
+    provides valuable debug information, including error stack traces and \
+    memory allocation summaries.  It can generate profiling information \
+    about your php scripts, to be used for script execution analysis and \
+    optimization. It also supports debugging interactively using the dbg \
+    debug client.
+
+master_sites      http://www.xdebug.org/files/
+checksums         md5 0f9ecb9c5331d0041b04be9566763171
+distname          xdebug-${version}
+extract.suffix    .tgz
+depends_lib       port:php5
+configure.args    --enable-xdebug --with-php-config=${prefix}/bin/php-config
+
+pre-configure {
+    cd ${worksrcpath}
+    system "${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}:
+    *
+    * 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
+    * ${xdebug_docs}
+    ***************************************************************************"
+}


Property changes on: trunk/dports/www/php5-xdebug/Portfile
___________________________________________________________________
Name: svn:keywords
   + Id
Name: svn:eol-style
   + native

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070812/652a556b/attachment.html


More information about the macports-changes mailing list