devel/pecl-xdebug26: new port for xdebug 2.6.0

xdebug 2.6 drop the php5 support, so xdebug26 is php7 only.
xdebug 2.5.x is still available for php5.

Sponsored by:	trivago N.V.
This commit is contained in:
Luca Pizzamiglio 2018-03-15 14:55:26 +00:00
parent 88eceef06a
commit d93cda5d09
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=464591
5 changed files with 65 additions and 0 deletions

View file

@ -4016,6 +4016,7 @@
SUBDIR += pecl-weakref
SUBDIR += pecl-weakref2
SUBDIR += pecl-xdebug
SUBDIR += pecl-xdebug26
SUBDIR += pecl-xhprof
SUBDIR += pecl-yac
SUBDIR += pecl-yaconf

View file

@ -0,0 +1,22 @@
# Created by: Luca Pizzamiglio <luca.pizzamiglio@trivago.com>
# $FreeBSD$
PORTNAME= xdebug
DISTVERSION= 2.6.0
CATEGORIES= devel pear
PKGNAMESUFFIX= 26
MAINTAINER= pizzamig@FreeBSD.org
COMMENT= Xdebug extension for PHP
LICENSE= PHP30
LICENSE_FILE= ${WRKSRC}/LICENSE
IGNORE_WITH_PHP= 56
CONFIGURE_ARGS= --enable-xdebug
USES= php:pecl,zend tar:tgz
SUB_FILES= pkg-message
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1521120354
SHA256 (PECL/xdebug-2.6.0.tgz) = b5264cc03bf68fcbb04b97229f96dca505d7b87ec2fb3bd4249896783d29cbdc
SIZE (PECL/xdebug-2.6.0.tgz) = 283644

View file

@ -0,0 +1,21 @@
*****************************************************************************
The php debugger 'xdebug' has been installed successful.
Add a line containing
extension=%%PREFIX%%/lib/php/%%PHP_EXT_DIR%%/xdebug.so
or
zend_extension=%%PREFIX%%/lib/php/%%PHP_EXT_DIR%%/xdebug.so
to your php.ini to load it. xdebug is not compatible with the extension
'Zend Optimizer' - you're only able to use one of them. So take care having
at least the lesser required extension disabled by commenting out it's
loader line in your php.ini.
Add following section to enable profiling:
xdebug.profiler_enable = 1
xdebug.profiler_output_dir = /tmp/profiler
*****************************************************************************

View file

@ -0,0 +1,18 @@
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 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
* script execution analysis
* capabilities to debug your scripts interactively with a debug client
WWW: http://www.xdebug.org/