mirror of
https://git.freebsd.org/ports.git
synced 2025-06-15 17:50:31 -04:00
Unbreak this port switch to GitHub While here switch to DISTVERSION Changelogs: https://github.com/sebastianbergmann/php-code-coverage Approved by: tz (mentor) Differential Revision: https://reviews.freebsd.org/D12742
46 lines
1.3 KiB
Makefile
46 lines
1.3 KiB
Makefile
# Created by: Gasol Wu <gasol.wu@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= PHP_CodeCoverage
|
|
DISTVERSION= 5.2.2
|
|
CATEGORIES= devel pear
|
|
PKGNAMEPREFIX= pear-
|
|
|
|
MAINTAINER= joneum@FreeBSD.org
|
|
COMMENT= Library that provides PHP code coverage information
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= pear-File_Iterator>=1.4.2:devel/pear-File_Iterator \
|
|
pear-PHP_TokenStream>=1.4.11:devel/pear-PHP_TokenStream \
|
|
pear-Text_Template>=1.2.0:textproc/pear-Text_Template \
|
|
pear-channel-phpunit>=20110327:devel/pear-channel-phpunit
|
|
RUN_DEPENDS= pear-File_Iterator>=1.4.2:devel/pear-File_Iterator \
|
|
pear-PHP_TokenStream>=1.4.11:devel/pear-PHP_TokenStream \
|
|
pear-Text_Template>=1.2.0:textproc/pear-Text_Template \
|
|
pear-channel-phpunit>=20110327:devel/pear-channel-phpunit
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= sebastianbergmann
|
|
GH_PROJECT= php-code-coverage
|
|
|
|
NO_BUILD= yes
|
|
|
|
OPTIONS_DEFINE= DOM XDEBUG
|
|
DOM_DESC= Enable DOM support
|
|
XDEBUG_DESC= Enable Xdebug support
|
|
|
|
DOM_USE= PHP=dom
|
|
XDEBUG_RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/xdebug.so:devel/php-xdebug
|
|
|
|
PHP_DIR= share/PHP
|
|
|
|
PLIST_FILES= ${PHP_DIR}/${PORTNAME}/CodeCoverage.php
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/${PHP_DIR}/${PORTNAME}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/src/CodeCoverage.php \
|
|
${STAGEDIR}${PREFIX}/${PHP_DIR}/${PORTNAME}
|
|
|
|
.include <bsd.port.mk>
|