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:
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
|
@ -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
|
||||
|
|
22
devel/pecl-xdebug26/Makefile
Normal file
22
devel/pecl-xdebug26/Makefile
Normal 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>
|
3
devel/pecl-xdebug26/distinfo
Normal file
3
devel/pecl-xdebug26/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1521120354
|
||||
SHA256 (PECL/xdebug-2.6.0.tgz) = b5264cc03bf68fcbb04b97229f96dca505d7b87ec2fb3bd4249896783d29cbdc
|
||||
SIZE (PECL/xdebug-2.6.0.tgz) = 283644
|
21
devel/pecl-xdebug26/files/pkg-message.in
Normal file
21
devel/pecl-xdebug26/files/pkg-message.in
Normal 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
|
||||
|
||||
*****************************************************************************
|
18
devel/pecl-xdebug26/pkg-descr
Normal file
18
devel/pecl-xdebug26/pkg-descr
Normal 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/
|
Loading…
Reference in a new issue