Date: Mon, 27 Jan 2003 00:04:33 GMT From: Jens Rehsack <rehsack@liwing.de> To: FreeBSD-gnats-submit@FreeBSD.org Cc: Jens Rehsack <rehsack@liwing.de> Subject: ports/47527: new port devel/dbg_php4 Message-ID: <200301270004.h0R04XYr042482@helo.liwing.de>
next in thread | raw e-mail | index | archive | help
>Number: 47527 >Category: ports >Synopsis: new port devel/dbg_php4 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jan 26 16:10:02 PST 2003 >Closed-Date: >Last-Modified: >Originator: Jens Rehsack >Release: FreeBSD 5.0-CURRENT i386 >Organization: LiWing IT-Services >Environment: System: FreeBSD webdev.muppets.liwing.de 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Fri Jan 24 21:45:25 GMT 2003 root@webdev.muppets.liwing.de:/usr/obj/usr/src/sys/WEBDEV i386 FreeBSD 5.0 environment >Description: new port for debugging php scripts >How-To-Repeat: >Fix: --- devel-dbg_php4.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # devel/dbg_php4/Makefile # devel/dbg_php4/distinfo # devel/dbg_php4/pkg-comment # devel/dbg_php4/pkg-descr # devel/dbg_php4/pkg-message # devel/dbg_php4/pkg-plist # echo x - devel/dbg_php4/Makefile sed 's/^X//' >devel/dbg_php4/Makefile << 'END-of-devel/dbg_php4/Makefile' X# New ports collection makefile for: dbg_php4 X# Date created: Sun Jan 26 20:47:49 GMT 2003 X# Whom: Jens Rehsack <rehsack@liwing.de> X# X# $FreeBSD$ X# X XPORTNAME= dbg_php4 XPORTVERSION= 2.11.5 XPORTREVISION= 0 XCATEGORIES= devel XMASTER_SITES= http://dd.cron.ru/dbg/dnld/ XDISTNAME= dbg-${PORTVERSION} XDISTFILES= ${DISTNAME}-src${EXTRACT_SUFX} XWRKSRC= ${WRKDIR}/dbg X XMAINTAINER= rehsack@liwing.de X XBUILD_DEPENDS= autoconf:${PORTSDIR}/devel/autoconf \ X automake:${PORTSDIR}/devel/automake \ X libtool:${PORTSDIR}/devel/libtool \ X php:${PORTSDIR}/lang/php4 X XGNU_CONFIGURE= yes X XPLIST= ${WRKDIR}/PLIST X X.include <bsd.port.pre.mk> X XPHP4_FILES_BUILD=dynlib.mk fastgen.sh library.mk ltlib.mk mkdep.awk program.mk rules.mk rules_common.mk rules_pear.mk shtool XPHP4_FILES=acinclude.m4 dynlib.m4 XBUILD_DIR=${WRKSRC}/build XPHPDIR=${PREFIX}/lib/php/build XPHPCONFIG=${LOCALBASE}/bin/php-config X.if exists(${PHPCONFIG}) XPHPEXT!= ${PHPCONFIG} --extension-dir X.endif XPHPEXTENSIONS= ${PHPEXT} X X.if defined(DBG_PHP4_WITH_MODULE) X.if defined(WITH_APACHE2) XINSTALL_DEPENDS= ${LOCALBASE}/libexec/apache2/libphp4.so:${PORTSDIR}/www/mod_php4 X.else XINSTALL_DEPENDS= ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4 X.endif X.endif X XCONFIGURE_ARGS= --enable-dbg=shared --with-dbg-profiler \ X --with-php-config=${PHPCONFIG} XCONFIGURE_ENV= CPPFLAGS="-DHAVE_CONFIG_H" X Xpost-extract: X @${MKDIR} ${BUILD_DIR} X @cd ${PHPDIR}; ${CP} ${PHP4_FILES_BUILD} ${BUILD_DIR} X @cd ${PHPDIR}; ${CP} ${PHP4_FILES} ${WRKSRC} X @${MV} ${BUILD_DIR}/rules_pear.mk ${BUILD_DIR}/rules.mk X @cd ${WRKSRC}; ${SED} -e "s#/usr/local#$prefix#" < ${PHPDIR}/pear.m4 > configure.in X @cd ${WRKSRC}; ${TOUCH} install-sh mkinstalldirs missing X @cd ${WRKSRC}; aclocal X Xpre-configure: X @cd ${WRKSRC}; autoconf X @cd ${WRKSRC}; autoheader X @cd ${WRKSRC}; libtoolize -f -c X Xdo-install: X @${MKDIR} ${PHPEXTENSIONS} X ${INSTALL} ${WRKSRC}/modules/dbg.so ${PHPEXTENSIONS} X @${ECHO_CMD} ${PHPEXTENSIONS}/dbg.so | ${SED} "s|${LOCALBASE}/||" >${PLIST} X Xpost-install: X @${ECHO_CMD} "The php debugger has been installed successful." X @${ECHO_CMD} "Add a line containing" X @${ECHO_CMD} " extension=dbg.so" X @${ECHO_CMD} "to your php.ini to load it." X @${ECHO_CMD} "If you have the Zend Optimizer installed, add the line" X @${ECHO_CMD} " zend_extension=${PHPEXTENSIONS}/dbg.so" X @${ECHO_CMD} "to your [zend] section in the php.ini file, too." X @${ECHO_CMD} "Add following section to enable/disable whatever you need from the debugger:" X @${ECHO_CMD} " [Debugger]" X @${ECHO_CMD} " debugger.enabled=on" X @${ECHO_CMD} " debugger.profiler_enabled=on" X @${ECHO_CMD} " debugger.enable_session_cookie=on" X @${ECHO_CMD} " debugger.JIT_enabled=on" X @${ECHO_CMD} " debugger.JIT_port=7869" X X.include <bsd.port.post.mk> END-of-devel/dbg_php4/Makefile echo x - devel/dbg_php4/distinfo sed 's/^X//' >devel/dbg_php4/distinfo << 'END-of-devel/dbg_php4/distinfo' XMD5 (dbg-2.11.5-src.tar.gz) = 231f8da52bce33af6bd2ea5747b230be END-of-devel/dbg_php4/distinfo echo x - devel/dbg_php4/pkg-comment sed 's/^X//' >devel/dbg_php4/pkg-comment << 'END-of-devel/dbg_php4/pkg-comment' XDebugger for PHP4 END-of-devel/dbg_php4/pkg-comment echo x - devel/dbg_php4/pkg-descr sed 's/^X//' >devel/dbg_php4/pkg-descr << 'END-of-devel/dbg_php4/pkg-descr' XThe DBG Php Debugger is a comprehensive software tool that helps you debugging your php scripts. X XWWW: http://dd.cron.ru/dbg/ END-of-devel/dbg_php4/pkg-descr echo x - devel/dbg_php4/pkg-message sed 's/^X//' >devel/dbg_php4/pkg-message << 'END-of-devel/dbg_php4/pkg-message' X***************************************************************************** XThis product includes DBG PHP Debugger, Copyright(C) 1999, 2000, 2001, X2002 Nusphere Corporation, http://www.nusphere.com/dbg X***************************************************************************** END-of-devel/dbg_php4/pkg-message echo x - devel/dbg_php4/pkg-plist sed 's/^X//' >devel/dbg_php4/pkg-plist << 'END-of-devel/dbg_php4/pkg-plist' X%%PHPEXTENSIONS%%/dbg.so END-of-devel/dbg_php4/pkg-plist exit --- devel-dbg_php4.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301270004.h0R04XYr042482>