1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/devel/php-dbg/Makefile
Mark Linimon f73607b3d4 Mark this for expiration. devel/php-dbg2 works with php5, and compiles
with gcc4.2; this one does neither.

Submitted by:	maintainer, via email
2007-10-13 16:24:51 +00:00

49 lines
1.1 KiB
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= ports@FreeBSD.org
COMMENT= Debugger for PHP4
DEPRECATED= does not work with php5 and does not compile on gcc4.2
EXPIRATION_DATE= 2007-11-13
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
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 700042
BROKEN= Does not compile with GCC 4.2
.endif
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.post.mk>