Add php-xdebug 1.2.0, xdebug extension for PHP.
PR: ports/53147 Submitted by: Jens Rehsack <rehsack@liwing.de> Reviewed by: Alex Dupre <sysadmin@alexdupre.com>
This commit is contained in:
@@ -734,6 +734,7 @@
|
||||
SUBDIR += perltidy
|
||||
SUBDIR += pharmacy
|
||||
SUBDIR += php-dbg
|
||||
SUBDIR += php-xdebug
|
||||
SUBDIR += picasm
|
||||
SUBDIR += picp
|
||||
SUBDIR += picprog
|
||||
|
||||
37
devel/php-xdebug/Makefile
Normal file
37
devel/php-xdebug/Makefile
Normal file
@@ -0,0 +1,37 @@
|
||||
# New ports collection makefile for: xdebug
|
||||
# Date created: Thu Apr 3 12:44:57 GMT 2003
|
||||
# Whom: Jens Rehsack <rehsack@liwing.de>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= xdebug
|
||||
PORTVERSION= 1.2.0
|
||||
CATEGORIES= devel x11
|
||||
MASTER_SITES= http://files.derickrethans.nl/
|
||||
PKGNAMEPREFIX= php-
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= rehsack@liwing.de
|
||||
COMMENT= Xdebug extension for PHP
|
||||
|
||||
USE_PHPIZE= yes
|
||||
CONFIGURE_ARGS= --enable-xdebug --with-php-config=${PREFIX}/bin/php-config
|
||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${.CURDIR}/../../lang/php4/bsd.php.mk"
|
||||
|
||||
post-build:
|
||||
@${SED} "s|%%PREFIX%%|${PREFIX}|g;s|%%PHP_EXT_DIR%%|${PHP_EXT_DIR}|g" \
|
||||
< ${.CURDIR}/pkg-message > ${PKGMESSAGE}
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${PREFIX}/lib/php/${PHP_EXT_DIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/modules/xdebug.so \
|
||||
${PREFIX}/lib/php/${PHP_EXT_DIR}
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
1
devel/php-xdebug/distinfo
Normal file
1
devel/php-xdebug/distinfo
Normal file
@@ -0,0 +1 @@
|
||||
MD5 (xdebug-1.2.0.tgz) = a37cd618fa25e87e6f1aab5ff0b80742
|
||||
5
devel/php-xdebug/pkg-descr
Normal file
5
devel/php-xdebug/pkg-descr
Normal file
@@ -0,0 +1,5 @@
|
||||
The Xdebug extension helps you debugging your script by providing a lot of
|
||||
valuable debug information. Xdebug can be used from inside a script or by
|
||||
a remote debugger.
|
||||
|
||||
WWW: http://xdebug.derickrethans.nl/
|
||||
22
devel/php-xdebug/pkg-message
Normal file
22
devel/php-xdebug/pkg-message
Normal file
@@ -0,0 +1,22 @@
|
||||
*****************************************************************************
|
||||
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/disable whatever you need from xdebug:
|
||||
|
||||
xdebug.auto_profile [1|On | 0|Off]
|
||||
xdebug.auto_profile_mode [profile mode, integer]
|
||||
xdebug.output_dir [string]
|
||||
|
||||
*****************************************************************************
|
||||
2
devel/php-xdebug/pkg-plist
Normal file
2
devel/php-xdebug/pkg-plist
Normal file
@@ -0,0 +1,2 @@
|
||||
lib/php/%%PHP_EXT_DIR%%/xdebug.so
|
||||
@unexec rmdir %D/lib/php/%%PHP_EXT_DIR%% 2>/dev/null || true
|
||||
Reference in New Issue
Block a user