freebsd-ports/devel/pear-PHPUnit_MockObject/Makefile
Mathieu Arnold a1993564e0 Introduce PHP flavors.
Ports using USES=php:phpize, php:ext, php:zend, and php:pecl are now
  flavored.  They will automatically get flavors (php56, php70, php71, php72)
  depending of the versions they support (set with IGNORE_WITH_PHP).  As a
  consequence, ports using USES=pear and USES=horde are also flavored.

PR:		226242
Submitted by:	mat
Exp-run by:	antoine
Approved by:	portmgr
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D14208
2018-03-08 19:48:41 +00:00

29 lines
608 B
Makefile

# Created by: Gasol Wu <gasol.wu@gmail.com>
# $FreeBSD$
PORTNAME= PHPUnit_MockObject
PORTVERSION= 4.0.1
CATEGORIES= devel pear
MAINTAINER= joneum@FreeBSD.org
COMMENT= Mock Object library for PHPUnit
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GITHUB= yes
GH_ACCOUNT= sebastianbergmann
GH_PROJECT= phpunit-mock-objects
NO_BUILD= yes
PHP_DIR= share/PHP
PLIST_FILES= ${PHP_DIR}/${PORTNAME}/MockObject.php
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/${PHP_DIR}/${PORTNAME}
${INSTALL_SCRIPT} ${WRKSRC}/src/MockObject.php \
${STAGEDIR}${PREFIX}/${PHP_DIR}/${PORTNAME}
.include <bsd.port.mk>