From cf213c6f1f4f03081e4e94303448ea06c3f3cec4 Mon Sep 17 00:00:00 2001 From: Stuart Herbert Date: Sun, 4 Sep 2005 16:11:42 +0000 Subject: Initial import (Portage version: 2.0.51.22-r2) --- dev-php4/phpdbg/ChangeLog | 7 +++++ dev-php4/phpdbg/Manifest | 4 +++ dev-php4/phpdbg/files/digest-phpdbg-2.11.32 | 1 + dev-php4/phpdbg/metadata.xml | 5 +++ dev-php4/phpdbg/phpdbg-2.11.32.ebuild | 49 +++++++++++++++++++++++++++++ 5 files changed, 66 insertions(+) create mode 100644 dev-php4/phpdbg/ChangeLog create mode 100644 dev-php4/phpdbg/Manifest create mode 100644 dev-php4/phpdbg/files/digest-phpdbg-2.11.32 create mode 100644 dev-php4/phpdbg/metadata.xml create mode 100644 dev-php4/phpdbg/phpdbg-2.11.32.ebuild (limited to 'dev-php4') diff --git a/dev-php4/phpdbg/ChangeLog b/dev-php4/phpdbg/ChangeLog new file mode 100644 index 000000000000..ec6365b958cf --- /dev/null +++ b/dev-php4/phpdbg/ChangeLog @@ -0,0 +1,7 @@ +# ChangeLog for dev-php4/phpdbg +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php4/phpdbg/ChangeLog,v 1.1 2005/09/04 16:11:42 stuart Exp $ + + 18 Aug 2005; ChangeLog: + Initial version; replaces older dev-php/* packages + diff --git a/dev-php4/phpdbg/Manifest b/dev-php4/phpdbg/Manifest new file mode 100644 index 000000000000..424cd38f3897 --- /dev/null +++ b/dev-php4/phpdbg/Manifest @@ -0,0 +1,4 @@ +MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157 +MD5 f060d788793251e8b6527989b801bea0 ChangeLog 216 +MD5 3ac430bb29711af1d080dda4801d3801 phpdbg-2.11.32.ebuild 1378 +MD5 4f8b7e495c942a2fc4eb4722d0b2382d files/digest-phpdbg-2.11.32 66 diff --git a/dev-php4/phpdbg/files/digest-phpdbg-2.11.32 b/dev-php4/phpdbg/files/digest-phpdbg-2.11.32 new file mode 100644 index 000000000000..07041a3b6d71 --- /dev/null +++ b/dev-php4/phpdbg/files/digest-phpdbg-2.11.32 @@ -0,0 +1 @@ +MD5 1ac7372bfcb4c5e13cad1248e071d70c dbg-2.11.32-src.tar.gz 39369 diff --git a/dev-php4/phpdbg/metadata.xml b/dev-php4/phpdbg/metadata.xml new file mode 100644 index 000000000000..fd3dbe39fa64 --- /dev/null +++ b/dev-php4/phpdbg/metadata.xml @@ -0,0 +1,5 @@ + + + + php + diff --git a/dev-php4/phpdbg/phpdbg-2.11.32.ebuild b/dev-php4/phpdbg/phpdbg-2.11.32.ebuild new file mode 100644 index 000000000000..9874f50517c1 --- /dev/null +++ b/dev-php4/phpdbg/phpdbg-2.11.32.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php4/phpdbg/phpdbg-2.11.32.ebuild,v 1.1 2005/09/04 16:11:42 stuart Exp $ + +PHP_EXT_NAME="dbg" +PHP_EXT_ZENDEXT="no" +inherit php-ext-source-r1 +IUSE="" +S="${WORKDIR}/dbg-${PV}${PL}" +DESCRIPTION="A PHP debugger useable with some editors like phpedit." +SRC_URI="mirror://sourceforge/dbg2/dbg-${PV}${PL}-src.tar.gz" +HOMEPAGE="http://dd.cron.ru/dbg/" +LICENSE="dbgphp" +SLOT="0" + +KEYWORDS="~ppc ~x86" + +need_php_by_category + +src_compile() { + # phpdbg does not work with Zend Thread Safety (ZTS) + # so abort if we are using PHP compiled with ZTS. + if has_zts ; then + eerror "phpdbg doesn't work with a ZTS enabled PHP." + eerror "Please disable ZTS by turning the 'threads'" + eerror "USE flag off when you compile dev-lang/php." + die "phpdbg does not support ZTS" + fi + + my_conf="--enable-dbg=shared --with-dbg-profiler" + php-ext-source-r1_src_compile +} + +src_install () { + php-ext-source-r1_src_install + dodoc AUTHORS COPYING INSTALL + php-ext-base-r1_addtoinifiles "[Debugger]" + php-ext-base-r1_addtoinifiles "debugger.enabled" "on" + php-ext-base-r1_addtoinifiles "debugger.profiler_enabled" "on" +} + +pkg_postinst() { + einfo "Please reload Apache to activate the changes" +} + +pkg_postrm() { + einfo "You need to remove all lines referring to the debugger, and" + einfo "extension=dbg.so. Please reload Apache to activate the changes." +} -- cgit v1.2.3-65-gdbad