mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Add php-dbg, it's a debugger for php.
PR: ports/47527 Submitted by: Jens Rehsack <rehsack@liwing.de>
This commit is contained in:
parent
72cfc38b03
commit
7dcff6314c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=75452
@ -675,6 +675,7 @@
|
||||
SUBDIR += perforce
|
||||
SUBDIR += perltidy
|
||||
SUBDIR += pharmacy
|
||||
SUBDIR += php-dbg
|
||||
SUBDIR += picasm
|
||||
SUBDIR += picprog
|
||||
SUBDIR += pinstall
|
||||
|
55
devel/php-dbg/Makefile
Normal file
55
devel/php-dbg/Makefile
Normal file
@ -0,0 +1,55 @@
|
||||
# New ports collection makefile for: dbg_php4
|
||||
# Date created: Sun Jan 26 20:47:49 GMT 2003
|
||||
# Whom: Jens Rehsack <rehsack@liwing.de>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= dbg
|
||||
PORTVERSION= 2.11.5
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= http://dd.cron.ru/dbg/dnld/
|
||||
PKGNAMEPREFIX= php-
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
||||
|
||||
MAINTAINER= rehsack@liwing.de
|
||||
|
||||
BUILD_DEPENDS= aclocal:${PORTSDIR}/devel/automake \
|
||||
autoconf:${PORTSDIR}/devel/autoconf \
|
||||
phpize:${PORTSDIR}/www/mod_php4
|
||||
RUN_DEPENDS= ${LOCALBASE}/bin/php:${PORTSDIR}/www/mod_php4
|
||||
|
||||
USE_LIBTOOL= yes
|
||||
WRKSRC= ${WRKDIR}/dbg
|
||||
CONFIGURE_ARGS= --enable-dbg=shared --with-dbg-profiler \
|
||||
--with-php-config=${PREFIX}/bin/php-config
|
||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
PLIST= ${WRKDIR}/pkg-plist
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
PHPCONFIG= ${LOCALBASE}/bin/php-config
|
||||
.if exists(${PHPCONFIG})
|
||||
PHPEXTENSIONS!= ${PHPCONFIG} --extension-dir
|
||||
.else
|
||||
PHPEXTENSIONS= ${LOCALBASE}/lib/php/extensions
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
@${ECHO_MSG} "===> PHPizing for ${DISTNAME}"
|
||||
@cd ${WRKSRC} && ${LOCALBASE}/bin/phpize
|
||||
|
||||
post-build:
|
||||
@${SED} "s|%%LOCALBASE%%|${LOCALBASE}|g;s|%%PHPEXTENSIONS%%|${PHPEXTENSIONS}|g" \
|
||||
${.CURDIR}/pkg-message > ${PKGMESSAGE}
|
||||
@${SED} "s|%%PHPEXTENSIONS%%|${PHPEXTENSIONS}|g" < ${.CURDIR}/pkg-plist | \
|
||||
${SED} "s|${LOCALBASE}/||" >${PLIST}
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${PHPEXTENSIONS}
|
||||
@${INSTALL_DATA} ${WRKSRC}/modules/dbg.so \
|
||||
${PHPEXTENSIONS}
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
.include <bsd.port.post.mk>
|
1
devel/php-dbg/distinfo
Normal file
1
devel/php-dbg/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (dbg-2.11.5-src.tar.gz) = 231f8da52bce33af6bd2ea5747b230be
|
1
devel/php-dbg/pkg-comment
Normal file
1
devel/php-dbg/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Debugger for PHP4
|
4
devel/php-dbg/pkg-descr
Normal file
4
devel/php-dbg/pkg-descr
Normal file
@ -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/
|
25
devel/php-dbg/pkg-message
Normal file
25
devel/php-dbg/pkg-message
Normal file
@ -0,0 +1,25 @@
|
||||
*****************************************************************************
|
||||
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=%%PREFIX%%/lib/php/extensions/dbg.so
|
||||
|
||||
to your php.ini to load it.
|
||||
If you have the Zend Optimizer installed, add the line
|
||||
|
||||
zend_extension=%%PREFIX%%/lib/php/extensions/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
|
||||
|
||||
*****************************************************************************
|
1
devel/php-dbg/pkg-plist
Normal file
1
devel/php-dbg/pkg-plist
Normal file
@ -0,0 +1 @@
|
||||
lib/php/extensions/dbg.so
|
55
devel/php-dbg2/Makefile
Normal file
55
devel/php-dbg2/Makefile
Normal file
@ -0,0 +1,55 @@
|
||||
# New ports collection makefile for: dbg_php4
|
||||
# Date created: Sun Jan 26 20:47:49 GMT 2003
|
||||
# Whom: Jens Rehsack <rehsack@liwing.de>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= dbg
|
||||
PORTVERSION= 2.11.5
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= http://dd.cron.ru/dbg/dnld/
|
||||
PKGNAMEPREFIX= php-
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
||||
|
||||
MAINTAINER= rehsack@liwing.de
|
||||
|
||||
BUILD_DEPENDS= aclocal:${PORTSDIR}/devel/automake \
|
||||
autoconf:${PORTSDIR}/devel/autoconf \
|
||||
phpize:${PORTSDIR}/www/mod_php4
|
||||
RUN_DEPENDS= ${LOCALBASE}/bin/php:${PORTSDIR}/www/mod_php4
|
||||
|
||||
USE_LIBTOOL= yes
|
||||
WRKSRC= ${WRKDIR}/dbg
|
||||
CONFIGURE_ARGS= --enable-dbg=shared --with-dbg-profiler \
|
||||
--with-php-config=${PREFIX}/bin/php-config
|
||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
PLIST= ${WRKDIR}/pkg-plist
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
PHPCONFIG= ${LOCALBASE}/bin/php-config
|
||||
.if exists(${PHPCONFIG})
|
||||
PHPEXTENSIONS!= ${PHPCONFIG} --extension-dir
|
||||
.else
|
||||
PHPEXTENSIONS= ${LOCALBASE}/lib/php/extensions
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
@${ECHO_MSG} "===> PHPizing for ${DISTNAME}"
|
||||
@cd ${WRKSRC} && ${LOCALBASE}/bin/phpize
|
||||
|
||||
post-build:
|
||||
@${SED} "s|%%LOCALBASE%%|${LOCALBASE}|g;s|%%PHPEXTENSIONS%%|${PHPEXTENSIONS}|g" \
|
||||
${.CURDIR}/pkg-message > ${PKGMESSAGE}
|
||||
@${SED} "s|%%PHPEXTENSIONS%%|${PHPEXTENSIONS}|g" < ${.CURDIR}/pkg-plist | \
|
||||
${SED} "s|${LOCALBASE}/||" >${PLIST}
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${PHPEXTENSIONS}
|
||||
@${INSTALL_DATA} ${WRKSRC}/modules/dbg.so \
|
||||
${PHPEXTENSIONS}
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
.include <bsd.port.post.mk>
|
1
devel/php-dbg2/distinfo
Normal file
1
devel/php-dbg2/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (dbg-2.11.5-src.tar.gz) = 231f8da52bce33af6bd2ea5747b230be
|
1
devel/php-dbg2/pkg-comment
Normal file
1
devel/php-dbg2/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Debugger for PHP4
|
4
devel/php-dbg2/pkg-descr
Normal file
4
devel/php-dbg2/pkg-descr
Normal file
@ -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/
|
25
devel/php-dbg2/pkg-message
Normal file
25
devel/php-dbg2/pkg-message
Normal file
@ -0,0 +1,25 @@
|
||||
*****************************************************************************
|
||||
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=%%PREFIX%%/lib/php/extensions/dbg.so
|
||||
|
||||
to your php.ini to load it.
|
||||
If you have the Zend Optimizer installed, add the line
|
||||
|
||||
zend_extension=%%PREFIX%%/lib/php/extensions/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
|
||||
|
||||
*****************************************************************************
|
1
devel/php-dbg2/pkg-plist
Normal file
1
devel/php-dbg2/pkg-plist
Normal file
@ -0,0 +1 @@
|
||||
lib/php/extensions/dbg.so
|
Loading…
Reference in New Issue
Block a user