# Created by: Gasol Wu # $FreeBSD: head/devel/pecl-trace/Makefile 409110 2016-02-18 14:47:05Z miwi $ PORTNAME= trace PORTVERSION= 0.3.0 CATEGORIES= devel MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- DIST_SUBDIR= PECL MAINTAINER= gasol.wu@gmail.com COMMENT= Low-overhead tracing tool for PHP LICENSE= APACHE20 WRKSRC= ${WRKDIR}/${DISTNAME}/extension CMDTOOLSRC= ${WRKSRC}/../cmdtool GNU_CONFIGURE= yes USES= gmake shebangfix tar:tgz USE_PHP= yes USE_PHP_BUILD= yes USE_PHPEXT= yes IGNORE_WITH_PHP= 70 SHEBANG_FILES= ${CMDTOOLSRC}/phptrace PLIST_FILES= bin/phptrace \ bin/trace-php post-patch: ${REINPLACE_CMD} -e 's|Darwin|FreeBSD|g' ${CMDTOOLSRC}/phptrace post-build: (cd ${CMDTOOLSRC} && ${GMAKE} ${MAKE_ENV}) post-install: ${INSTALL_PROGRAM} ${CMDTOOLSRC}/trace-php ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${CMDTOOLSRC}/phptrace ${STAGEDIR}${PREFIX}/bin .include