aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/Makefile1
-rw-r--r--devel/pear-PHPUnit_MockObject/Makefile30
-rw-r--r--devel/pear-PHPUnit_MockObject/distinfo2
-rw-r--r--devel/pear-PHPUnit_MockObject/pkg-descr3
4 files changed, 36 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 96e30d5764bc..81c9aa2bf63b 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -3009,6 +3009,7 @@
SUBDIR += pear-PHPUnit
SUBDIR += pear-PHPUnit2
SUBDIR += pear-PHPUnit3
+ SUBDIR += pear-PHPUnit_MockObject
SUBDIR += pear-PHP_ArrayOf
SUBDIR += pear-PHP_Beautifier
SUBDIR += pear-PHP_CodeSniffer
diff --git a/devel/pear-PHPUnit_MockObject/Makefile b/devel/pear-PHPUnit_MockObject/Makefile
new file mode 100644
index 000000000000..2ba2cb2f34f7
--- /dev/null
+++ b/devel/pear-PHPUnit_MockObject/Makefile
@@ -0,0 +1,30 @@
+# Created by: Gasol Wu <gasol.wu@gmail.com>
+# $FreeBSD$
+
+PORTNAME= PHPUnit_MockObject
+PORTVERSION= 1.2.0
+CATEGORIES= devel pear
+MASTER_SITES= http://pear.phpunit.de/get/
+PKGNAMEPREFIX= pear-
+
+MAINTAINER= gasol.wu@gmail.com
+COMMENT= Mock Object library for PHPUnit
+
+LICENSE= BSD
+
+BUILD_DEPENDS= pear>=1.9.4:${PORTSDIR}/devel/pear \
+ ${PEARDIR}/Text/Template.php:${PORTSDIR}/textproc/pear-Text_Template \
+ ${PEARDIR}/.channels/pear.phpunit.de.reg:${PORTSDIR}/devel/pear-channel-phpunit
+RUN_DEPENDS= pear>=1.9.4:${PORTSDIR}/devel/pear \
+ ${PEARDIR}/Text/Template.php:${PORTSDIR}/textproc/pear-Text_Template \
+ ${PEARDIR}/.channels/pear.phpunit.de.reg:${PORTSDIR}/devel/pear-channel-phpunit
+
+PEAR_CHANNEL= phpunit
+PEAR_AUTOINSTALL= yes
+
+DEFAULT_PHP_VER=5
+IGNORE_WITH_PHP=4
+
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
+.include <bsd.port.post.mk>
diff --git a/devel/pear-PHPUnit_MockObject/distinfo b/devel/pear-PHPUnit_MockObject/distinfo
new file mode 100644
index 000000000000..0fc166804af3
--- /dev/null
+++ b/devel/pear-PHPUnit_MockObject/distinfo
@@ -0,0 +1,2 @@
+SHA256 (PEAR/PHPUnit_MockObject-1.2.0.tgz) = 61f4c05d5c04c1e654eb4d4a2332969fd06b51b2a6036eb75c04ac232ea0092d
+SIZE (PEAR/PHPUnit_MockObject-1.2.0.tgz) = 20442
diff --git a/devel/pear-PHPUnit_MockObject/pkg-descr b/devel/pear-PHPUnit_MockObject/pkg-descr
new file mode 100644
index 000000000000..f2a07fe8f633
--- /dev/null
+++ b/devel/pear-PHPUnit_MockObject/pkg-descr
@@ -0,0 +1,3 @@
+Mock Object library for PHPUnit
+
+WWW: https://github.com/sebastianbergmann/phpunit-mock-objects