1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/devel/php-xdebug/Makefile
Alex Dupre 35a3256787 Remove lang/php4/bsd.php.mk and switch every ports depending on PHP to
use Mk/bsd.php.mk.

Approved by:	nork (mentor/implicitly)
2004-02-09 11:43:38 +00:00

36 lines
827 B
Makefile

# New ports collection makefile for: xdebug
# Date created: Thu Apr 3 12:44:57 GMT 2003
# Whom: Jens Rehsack <rehsack@liwing.de>
#
# $FreeBSD$
#
PORTNAME= xdebug
PORTVERSION= 1.3.0
CATEGORIES= devel
MASTER_SITES= http://files.derickrethans.nl/
PKGNAMEPREFIX= php-
EXTRACT_SUFX= .tgz
MAINTAINER= rehsack@liwing.de
COMMENT= Xdebug extension for PHP
USE_PHP= yes
USE_PHPIZE= yes
CONFIGURE_ARGS= --enable-xdebug --with-php-config=${PREFIX}/bin/php-config
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/xdebug.so \
${PREFIX}/lib/php/${PHP_EXT_DIR}
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>