1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/devel/pecl-trace/Makefile
Mathieu Arnold dca255c3ce Convert USE_PHP*=yes into USES=php*
PR:		210529
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D6936
2016-06-28 14:00:45 +00:00

38 lines
814 B
Makefile

# Created by: Gasol Wu <gasol.wu@gmail.com>
# $FreeBSD$
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_SUBDIR= extension
CMDTOOLSRC= ${WRKSRC}/../cmdtool
GNU_CONFIGURE= yes
USES= gmake php:ext shebangfix tar:tgz
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 <bsd.port.mk>