freebsd-ports/devel/php-dbg/Makefile
Stefan Walter 5103e38cb8 - Unbreak/ignore with PHP 5.
- Assign maintainership to submitter.

PR:		111255
Submitted by:	"Josh Paetzel" <josh@tcbug.org>
2007-04-05 08:49:13 +00:00

39 lines
924 B
Makefile

# 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.30
CATEGORIES= devel
MASTER_SITES= http://dd.cron.ru/dbg/dnld/
PKGNAMEPREFIX= php-
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= josh@tcbug.org
COMMENT= Debugger for PHP4
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_PHP= yes
USE_PHPIZE= yes
DEFAULT_PHP_VER=4
IGNORE_WITH_PHP=5
CONFIGURE_ARGS= --enable-dbg=shared --with-dbg-profiler
#CONFIGURE_ENV= with_dbg_trace=1
PKGMESSAGE= ${WRKDIR}/pkg-message
post-build:
@${SED} "s|%%PREFIX%%|${PREFIX}|g;s|%%PHP_EXT_DIR%%|${PHP_EXT_DIR}|g" \
${.CURDIR}/pkg-message > ${PKGMESSAGE}
do-install:
@${MKDIR} ${PREFIX}/lib/php/${PHP_EXT_DIR}
@${INSTALL_DATA} ${WRKSRC}/modules/dbg.so \
${PREFIX}/lib/php/${PHP_EXT_DIR}
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>