PHP extension for debugging.
This commit is contained in:
parent
fdc3319764
commit
18cc55419c
6 changed files with 68 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -1,4 +1,4 @@
|
|||
# $Id: Makefile,v 1.5379 2013/07/14 11:44:45 noud4 Exp $
|
||||
# $Id: Makefile,v 1.5380 2013/07/14 11:49:53 noud4 Exp $
|
||||
#
|
||||
|
||||
COMMENT= WIP pkgsrc packages
|
||||
|
@ -3360,6 +3360,7 @@ SUBDIR+= xclipboard
|
|||
SUBDIR+= xcmsdb
|
||||
SUBDIR+= xcursor-themes
|
||||
SUBDIR+= xdbedizzy
|
||||
SUBDIR+= xdebug
|
||||
SUBDIR+= xdiskusage
|
||||
SUBDIR+= xdotool
|
||||
SUBDIR+= xebece
|
||||
|
|
16
xdebug/DESCR
Normal file
16
xdebug/DESCR
Normal file
|
@ -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
|
8
xdebug/MESSAGE
Normal file
8
xdebug/MESSAGE
Normal file
|
@ -0,0 +1,8 @@
|
|||
===========================================================================
|
||||
$NetBSD: MESSAGE,v 1.1 2013/07/14 11:48:35 noud4 Exp $
|
||||
|
||||
To use Xdebug with PHP,
|
||||
Be sure to have the following line in ${PREFIX}/etc/php.ini.
|
||||
|
||||
zend_extension="${PREFIX}/${PHP_EXTENSION_DIR}/xdebug.so"
|
||||
===========================================================================
|
35
xdebug/Makefile
Normal file
35
xdebug/Makefile
Normal file
|
@ -0,0 +1,35 @@
|
|||
# $NetBSD: Makefile,v 1.1 2013/07/14 11:48:35 noud4 Exp $
|
||||
#
|
||||
|
||||
DISTNAME= xdebug-2.0.5
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= http://xdebug.org/files/
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= noud4@home.nl
|
||||
HOMEPAGE= http://xdebug.org/
|
||||
COMMENT= PHP extension for debugging
|
||||
LICENSE= php # XXX based on php
|
||||
|
||||
DIST_SUBDIR= PHP
|
||||
|
||||
MODNAME= xdebug
|
||||
USE_TOOLS+= automake autoconf
|
||||
HAS_CONFIGURE= YES
|
||||
CONFIGURE_ARGS+= --enable-xdebug
|
||||
PHPIZE?= ${BUILDLINK_PREFIX.php}/bin/phpize
|
||||
PLIST_SRC+= ${.CURDIR}/../../lang/php/PLIST.module
|
||||
PLIST_SUBST+= MODNAME=${MODNAME}
|
||||
MESSAGE_SUBST+= PHP_EXTENSION_DIR=${PHP_EXTENSION_DIR}
|
||||
INSTALLATION_DIRS+= ${PHP_EXTENSION_DIR}
|
||||
|
||||
pre-configure:
|
||||
cd ${WRKSRC} && ${PHPIZE}
|
||||
|
||||
pre-install:
|
||||
${INSTALL_LIB} ${WRKSRC}/modules/xdebug.so ${DESTDIR}${PREFIX}/${PHP_EXTENSION_DIR}
|
||||
|
||||
.include "../../lang/php/phpversion.mk"
|
||||
.include "${PHPPKGSRCDIR}/Makefile.common"
|
||||
.include "../../lang/php53/buildlink3.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
2
xdebug/PLIST
Normal file
2
xdebug/PLIST
Normal file
|
@ -0,0 +1,2 @@
|
|||
@comment $NetBSD: PLIST,v 1.1 2013/07/14 11:48:35 noud4 Exp $
|
||||
${PHP_EXTENSION_DIR}/xdebug.so
|
5
xdebug/distinfo
Normal file
5
xdebug/distinfo
Normal file
|
@ -0,0 +1,5 @@
|
|||
$NetBSD: distinfo,v 1.1 2013/07/14 11:48:35 noud4 Exp $
|
||||
|
||||
SHA1 (PHP/xdebug-2.0.5.tgz) = 77e6a8fd56641d8b37be68ea3c4a5c52b7511114
|
||||
RMD160 (PHP/xdebug-2.0.5.tgz) = f07cc3cdc9f1378fb6154c0b972baa6995cd7043
|
||||
Size (PHP/xdebug-2.0.5.tgz) = 289234 bytes
|
Loading…
Reference in a new issue