summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorsborrill <sborrill@pkgsrc.org>2014-10-14 11:14:50 +0000
committersborrill <sborrill@pkgsrc.org>2014-10-14 11:14:50 +0000
commit556b4d1885df058f554a10ab4a137ac4461dcbaa (patch)
treefb6c35f36095be5357819c1b7290d88c8b55660a /devel
parent03d76a5ea3374ff30e31a345883a0f0b4ca69d41 (diff)
downloadpkgsrc-556b4d1885df058f554a10ab4a137ac4461dcbaa.tar.gz
Add Xdebug, a debugging extension for PHP:
The Xdebug extension helps you debugging your script by providing a lot of valuable debug information. The debug information that Xdebug can provide includes the following: * stack traces and function traces in error messages with: o full parameter display for user defined functions o function name, file name and line indications o support for member functions * memory allocation * protection for infinite recursions Xdebug also provides: * profiling information for PHP scripts * code coverage analysis * capabilities to debug your scripts interactively with a debug client
Diffstat (limited to 'devel')
-rw-r--r--devel/php-xdebug/DESCR16
-rw-r--r--devel/php-xdebug/MESSAGE9
-rw-r--r--devel/php-xdebug/Makefile19
-rw-r--r--devel/php-xdebug/distinfo5
4 files changed, 49 insertions, 0 deletions
diff --git a/devel/php-xdebug/DESCR b/devel/php-xdebug/DESCR
new file mode 100644
index 00000000000..218b8e49a0b
--- /dev/null
+++ b/devel/php-xdebug/DESCR
@@ -0,0 +1,16 @@
+The Xdebug extension helps you debugging your script by providing
+a lot of valuable debug information.
+The debug information that Xdebug can provide includes the following:
+
+ * stack traces and function traces in error messages with:
+ o full parameter display for user defined functions
+ o function name, file name and line indications
+ o support for member functions
+ * memory allocation
+ * protection for infinite recursions
+
+Xdebug also provides:
+
+ * profiling information for PHP scripts
+ * code coverage analysis
+ * capabilities to debug your scripts interactively with a debug client
diff --git a/devel/php-xdebug/MESSAGE b/devel/php-xdebug/MESSAGE
new file mode 100644
index 00000000000..f8024d7d55d
--- /dev/null
+++ b/devel/php-xdebug/MESSAGE
@@ -0,0 +1,9 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2014/10/14 11:14:50 sborrill Exp $
+
+To enable this module, add the following to ${PKG_SYSCONFDIR}/php.ini:
+
+ zend_extension=${PREFIX}/${PHP_EXTENSION_DIR}/${MODNAME}.so
+
+Then restart your ${PKG_PHP}-enabled HTTP server to load this module.
+===========================================================================
diff --git a/devel/php-xdebug/Makefile b/devel/php-xdebug/Makefile
new file mode 100644
index 00000000000..5b3a1bf3228
--- /dev/null
+++ b/devel/php-xdebug/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2014/10/14 11:14:50 sborrill Exp $
+#
+
+MODNAME= xdebug
+PECL_VERSION= 2.2.5
+PECL_LEGACY_VERSION_SCHEME= yes
+CATEGORIES= devel
+MASTER_SITES= http://xdebug.org/files/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://xdebug.org/
+COMMENT= PHP extension for debugging
+LICENSE= php
+
+.include "../../lang/php/ext.mk"
+MESSAGE_SRC= ${.CURDIR}/MESSAGE
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/php-xdebug/distinfo b/devel/php-xdebug/distinfo
new file mode 100644
index 00000000000..a4b0a3c2352
--- /dev/null
+++ b/devel/php-xdebug/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/10/14 11:14:50 sborrill Exp $
+
+SHA1 (php-xdebug/xdebug-2.2.5.tgz) = 62d388e07a45cab9eee498e7905c92a7e5d023cc
+RMD160 (php-xdebug/xdebug-2.2.5.tgz) = 446521cb02afb0b8640bf08a89070560b2a0b07e
+Size (php-xdebug/xdebug-2.2.5.tgz) = 255840 bytes