diff options
Diffstat (limited to 'devel/php-xdebug/Makefile')
-rw-r--r-- | devel/php-xdebug/Makefile | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/devel/php-xdebug/Makefile b/devel/php-xdebug/Makefile new file mode 100644 index 000000000000..604a0fb2a221 --- /dev/null +++ b/devel/php-xdebug/Makefile @@ -0,0 +1,37 @@ +# 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.2.0 +CATEGORIES= devel x11 +MASTER_SITES= http://files.derickrethans.nl/ +PKGNAMEPREFIX= php- +EXTRACT_SUFX= .tgz + +MAINTAINER= rehsack@liwing.de +COMMENT= Xdebug extension for PHP + +USE_PHPIZE= yes +CONFIGURE_ARGS= --enable-xdebug --with-php-config=${PREFIX}/bin/php-config +PKGMESSAGE= ${WRKDIR}/pkg-message + +.include <bsd.port.pre.mk> +.include "${.CURDIR}/../../lang/php4/bsd.php.mk" + +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.post.mk> |