2003-02-13 13:13:39 +01:00
|
|
|
# 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
|
2004-10-12 00:52:55 +02:00
|
|
|
PORTVERSION= 2.11.30
|
2003-02-13 13:13:39 +01:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= http://dd.cron.ru/dbg/dnld/
|
|
|
|
PKGNAMEPREFIX= php-
|
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
|
|
|
|
|
|
|
MAINTAINER= rehsack@liwing.de
|
2003-02-21 12:23:04 +01:00
|
|
|
COMMENT= Debugger for PHP4
|
2003-02-13 13:13:39 +01:00
|
|
|
|
2004-10-12 00:52:55 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
2004-02-09 12:43:38 +01:00
|
|
|
USE_PHP= yes
|
2003-06-06 21:20:30 +02:00
|
|
|
USE_PHPIZE= yes
|
|
|
|
CONFIGURE_ARGS= --enable-dbg=shared --with-dbg-profiler
|
2004-10-12 00:52:55 +02:00
|
|
|
#CONFIGURE_ENV= with_dbg_trace=1
|
2003-02-13 13:13:39 +01:00
|
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
|
|
|
|
|
|
post-build:
|
2003-06-06 21:20:30 +02:00
|
|
|
@${SED} "s|%%PREFIX%%|${PREFIX}|g;s|%%PHP_EXT_DIR%%|${PHP_EXT_DIR}|g" \
|
2003-02-13 13:13:39 +01:00
|
|
|
${.CURDIR}/pkg-message > ${PKGMESSAGE}
|
|
|
|
|
|
|
|
do-install:
|
2003-06-06 21:20:30 +02:00
|
|
|
@${MKDIR} ${PREFIX}/lib/php/${PHP_EXT_DIR}
|
2003-02-13 13:13:39 +01:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/modules/dbg.so \
|
2003-06-06 21:20:30 +02:00
|
|
|
${PREFIX}/lib/php/${PHP_EXT_DIR}
|
2003-02-13 13:13:39 +01:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
2004-02-09 12:43:38 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|