diff options
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/php-dbg/Makefile | 55 | ||||
-rw-r--r-- | devel/php-dbg/distinfo | 1 | ||||
-rw-r--r-- | devel/php-dbg/pkg-comment | 1 | ||||
-rw-r--r-- | devel/php-dbg/pkg-descr | 4 | ||||
-rw-r--r-- | devel/php-dbg/pkg-message | 25 | ||||
-rw-r--r-- | devel/php-dbg/pkg-plist | 1 | ||||
-rw-r--r-- | devel/php-dbg2/Makefile | 55 | ||||
-rw-r--r-- | devel/php-dbg2/distinfo | 1 | ||||
-rw-r--r-- | devel/php-dbg2/pkg-comment | 1 | ||||
-rw-r--r-- | devel/php-dbg2/pkg-descr | 4 | ||||
-rw-r--r-- | devel/php-dbg2/pkg-message | 25 | ||||
-rw-r--r-- | devel/php-dbg2/pkg-plist | 1 |
13 files changed, 175 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 2a7e365ad31c..d3c29ce9edf1 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -675,6 +675,7 @@ SUBDIR += perforce SUBDIR += perltidy SUBDIR += pharmacy + SUBDIR += php-dbg SUBDIR += picasm SUBDIR += picprog SUBDIR += pinstall diff --git a/devel/php-dbg/Makefile b/devel/php-dbg/Makefile new file mode 100644 index 000000000000..7677e8e54b03 --- /dev/null +++ b/devel/php-dbg/Makefile @@ -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> diff --git a/devel/php-dbg/distinfo b/devel/php-dbg/distinfo new file mode 100644 index 000000000000..bac3bc09c0db --- /dev/null +++ b/devel/php-dbg/distinfo @@ -0,0 +1 @@ +MD5 (dbg-2.11.5-src.tar.gz) = 231f8da52bce33af6bd2ea5747b230be diff --git a/devel/php-dbg/pkg-comment b/devel/php-dbg/pkg-comment new file mode 100644 index 000000000000..6171d41e3c21 --- /dev/null +++ b/devel/php-dbg/pkg-comment @@ -0,0 +1 @@ +Debugger for PHP4 diff --git a/devel/php-dbg/pkg-descr b/devel/php-dbg/pkg-descr new file mode 100644 index 000000000000..b3e997fbe21d --- /dev/null +++ b/devel/php-dbg/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/ diff --git a/devel/php-dbg/pkg-message b/devel/php-dbg/pkg-message new file mode 100644 index 000000000000..59b308e78c54 --- /dev/null +++ b/devel/php-dbg/pkg-message @@ -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 + +***************************************************************************** diff --git a/devel/php-dbg/pkg-plist b/devel/php-dbg/pkg-plist new file mode 100644 index 000000000000..c4a63d5e7e42 --- /dev/null +++ b/devel/php-dbg/pkg-plist @@ -0,0 +1 @@ +lib/php/extensions/dbg.so diff --git a/devel/php-dbg2/Makefile b/devel/php-dbg2/Makefile new file mode 100644 index 000000000000..7677e8e54b03 --- /dev/null +++ b/devel/php-dbg2/Makefile @@ -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> diff --git a/devel/php-dbg2/distinfo b/devel/php-dbg2/distinfo new file mode 100644 index 000000000000..bac3bc09c0db --- /dev/null +++ b/devel/php-dbg2/distinfo @@ -0,0 +1 @@ +MD5 (dbg-2.11.5-src.tar.gz) = 231f8da52bce33af6bd2ea5747b230be diff --git a/devel/php-dbg2/pkg-comment b/devel/php-dbg2/pkg-comment new file mode 100644 index 000000000000..6171d41e3c21 --- /dev/null +++ b/devel/php-dbg2/pkg-comment @@ -0,0 +1 @@ +Debugger for PHP4 diff --git a/devel/php-dbg2/pkg-descr b/devel/php-dbg2/pkg-descr new file mode 100644 index 000000000000..b3e997fbe21d --- /dev/null +++ b/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/ diff --git a/devel/php-dbg2/pkg-message b/devel/php-dbg2/pkg-message new file mode 100644 index 000000000000..59b308e78c54 --- /dev/null +++ b/devel/php-dbg2/pkg-message @@ -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 + +***************************************************************************** diff --git a/devel/php-dbg2/pkg-plist b/devel/php-dbg2/pkg-plist new file mode 100644 index 000000000000..c4a63d5e7e42 --- /dev/null +++ b/devel/php-dbg2/pkg-plist @@ -0,0 +1 @@ +lib/php/extensions/dbg.so |