[Midnightbsd-cvs] mports: mports/devel: add debugger and profiler for php

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Mon Feb 16 18:42:41 EST 2009


Log Message:
-----------
add debugger and profiler for php

Modified Files:
--------------
    mports/devel:
        Makefile (r1.273 -> r1.274)

Added Files:
-----------
    mports/devel/php-dbg2:
        Makefile (r1.1)
        distinfo (r1.1)
        pkg-descr (r1.1)
        pkg-message (r1.1)
        pkg-plist (r1.1)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/devel/Makefile,v
retrieving revision 1.273
retrieving revision 1.274
diff -L devel/Makefile -L devel/Makefile -u -r1.273 -r1.274
--- devel/Makefile
+++ devel/Makefile
@@ -246,6 +246,7 @@
     SUBDIR += pecl-json
     SUBDIR += performance
     SUBDIR += perltidy
+    SUBDIR += php-dbg2
     SUBDIR += php5-gettext
     SUBDIR += php5-ncurses
     SUBDIR += php5-pcntl
--- /dev/null
+++ devel/php-dbg2/pkg-message
@@ -0,0 +1,22 @@
+This product includes DBG PHP Debugger, Copyright(C) 1999, 2000, 2001,
+2002 Nusphere Corporation, http://www.nusphere.com/dbg
+
+The php debugger has been installed successful.
+Add a line containing
+
+       extension=dbg.so
+
+to your %%LOCALBASE%%/etc/php/extensions.ini to load it.
+If you have the Zend Optimizer installed, add the line
+
+       zend_extension=%%PREFIX%%/lib/php/%%PHP_EXT_DIR%%/dbg.so
+
+to your [zend] section in the php.ini file, too.
+Add following section to enable/disable whatever you need from the debugger:
+
+       [Debugger]
+       debugger.enabled=on
+       debugger.profiler_enabled=on
+       debugger.enable_session_cookie=on
+       debugger.JIT_enabled=on
+       debugger.JIT_port=7869
--- /dev/null
+++ devel/php-dbg2/pkg-descr
@@ -0,0 +1,4 @@
+The DBG Php Debugger is a comprehensive software tool that helps you
+debugging your php scripts.
+
+WWW:   http://dd.cron.ru/dbg/
--- /dev/null
+++ devel/php-dbg2/pkg-plist
@@ -0,0 +1,2 @@
+lib/php/%%PHP_EXT_DIR%%/dbg.so
+ at dirrmtry lib/php/%%PHP_EXT_DIR%%
--- /dev/null
+++ devel/php-dbg2/Makefile
@@ -0,0 +1,22 @@
+# $MidnightBSD: mports/devel/php-dbg2/Makefile,v 1.1 2009/02/16 23:42:38 laffer1 Exp $
+
+PORTNAME=	dbg2
+PORTVERSION=	2.15.5
+CATEGORIES=	devel
+MASTER_SITES=	SF
+PKGNAMEPREFIX=	php-
+DISTNAME=	dbg-${PORTVERSION}
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Debugger for PHP
+LICENSE=	restricted
+
+USE_PHP=	yes
+USE_PHPIZE=	yes
+DEFAULT_PHP_VER=5
+CONFIGURE_ARGS=	--enable-dbg=shared --with-dbg-profiler \
+		--with-php-config=${PREFIX}/bin/php-config \
+		--prefix=${PREFIX}/lib/php/${PHP_EXT_DIR}
+PKGMESSAGE=	pkg-message
+
+.include <bsd.port.mk>
--- /dev/null
+++ devel/php-dbg2/distinfo
@@ -0,0 +1,3 @@
+MD5 (dbg-2.15.5.tar.gz) = 1183c5d87635adf77b416787e4916965
+SHA256 (dbg-2.15.5.tar.gz) = 84dc46495610cd6ca96ff32578ee5df75aad672228cb63d593e72796bd11d77a
+SIZE (dbg-2.15.5.tar.gz) = 252533


More information about the Midnightbsd-cvs mailing list