aef5a66670
file, so the order remains the same. Every PHP (or Zend) extension now installs its own .ini file in /usr/local/etc/php. A PHP extension will be automatically activated when installed. The order into which extensions are loaded is automatically guessed. In some very rare cases, the guess will be wrong, and PHP_MOD_PRIO will need to be set. Refer to the USES=php section of the Porter's Handbook for more information. Convert ports touching etc/php/extensions.ini manually, or telling the OP to do it. And finally, bump PORTREVISION for all php extensions. PR: 210697 Submitted by: mat Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D7022
38 lines
830 B
Makefile
38 lines
830 B
Makefile
# Created by: Gasol Wu <gasol.wu@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= trace
|
|
PORTVERSION= 0.3.0
|
|
PORTREVISION= 1
|
|
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>
|