diff options
author | Norikatsu Shigemura <nork@FreeBSD.org> | 2003-06-17 16:10:58 +0000 |
---|---|---|
committer | Norikatsu Shigemura <nork@FreeBSD.org> | 2003-06-17 16:10:58 +0000 |
commit | 746aa0ff31208c4d2fa81459d14bd2ca85e144e0 (patch) | |
tree | 892825615e0e735b2f51510730135b12a5bfdcd0 /devel/php-xdebug | |
parent | fc1fbb138ff0566a7b71af86ff86f16546d45cb5 (diff) | |
download | ports-746aa0ff31208c4d2fa81459d14bd2ca85e144e0.tar.gz ports-746aa0ff31208c4d2fa81459d14bd2ca85e144e0.zip |
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>
Notes
Notes:
svn path=/head/; revision=83162
Diffstat (limited to 'devel/php-xdebug')
-rw-r--r-- | devel/php-xdebug/Makefile | 37 | ||||
-rw-r--r-- | devel/php-xdebug/distinfo | 1 | ||||
-rw-r--r-- | devel/php-xdebug/pkg-descr | 5 | ||||
-rw-r--r-- | devel/php-xdebug/pkg-message | 22 | ||||
-rw-r--r-- | devel/php-xdebug/pkg-plist | 2 |
5 files changed, 67 insertions, 0 deletions
diff --git a/devel/php-xdebug/Makefile b/devel/php-xdebug/Makefile new file mode 100644 index 000000000000..604a0fb2a221 --- /dev/null +++ b/devel/php-xdebug/Makefile @@ -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> diff --git a/devel/php-xdebug/distinfo b/devel/php-xdebug/distinfo new file mode 100644 index 000000000000..d4afb81c9a7a --- /dev/null +++ b/devel/php-xdebug/distinfo @@ -0,0 +1 @@ +MD5 (xdebug-1.2.0.tgz) = a37cd618fa25e87e6f1aab5ff0b80742 diff --git a/devel/php-xdebug/pkg-descr b/devel/php-xdebug/pkg-descr new file mode 100644 index 000000000000..95fe55801664 --- /dev/null +++ b/devel/php-xdebug/pkg-descr @@ -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/ diff --git a/devel/php-xdebug/pkg-message b/devel/php-xdebug/pkg-message new file mode 100644 index 000000000000..bb39f0e2aa5e --- /dev/null +++ b/devel/php-xdebug/pkg-message @@ -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] + +***************************************************************************** diff --git a/devel/php-xdebug/pkg-plist b/devel/php-xdebug/pkg-plist new file mode 100644 index 000000000000..1ef13dc30b94 --- /dev/null +++ b/devel/php-xdebug/pkg-plist @@ -0,0 +1,2 @@ +lib/php/%%PHP_EXT_DIR%%/xdebug.so +@unexec rmdir %D/lib/php/%%PHP_EXT_DIR%% 2>/dev/null || true |