diff --git a/devel/pear-PHPUnit_MockObject/Makefile b/devel/pear-PHPUnit_MockObject/Makefile index ff79c49e77b6..c41a48abf088 100644 --- a/devel/pear-PHPUnit_MockObject/Makefile +++ b/devel/pear-PHPUnit_MockObject/Makefile @@ -2,22 +2,29 @@ # $FreeBSD$ PORTNAME= PHPUnit_MockObject -PORTVERSION= 1.2.2 +PORTVERSION= 4.0.1 CATEGORIES= devel pear -MASTER_SITES= http://pear.phpunit.de/get/ PKGNAMEPREFIX= pear- MAINTAINER= joneum@bsdproject.de COMMENT= Mock Object library for PHPUnit LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PEARDIR}/Text/Template.php:textproc/pear-Text_Template \ - ${PEARDIR}/.channels/pear.phpunit.de.reg:devel/pear-channel-phpunit -RUN_DEPENDS= ${PEARDIR}/Text/Template.php:textproc/pear-Text_Template \ - ${PEARDIR}/.channels/pear.phpunit.de.reg:devel/pear-channel-phpunit +USE_GITHUB= yes +GH_ACCOUNT= sebastianbergmann +GH_PROJECT= phpunit-mock-objects -USES= pear -PEAR_CHANNEL= phpunit +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 diff --git a/devel/pear-PHPUnit_MockObject/distinfo b/devel/pear-PHPUnit_MockObject/distinfo index 51c55dc5168c..784df73003fa 100644 --- a/devel/pear-PHPUnit_MockObject/distinfo +++ b/devel/pear-PHPUnit_MockObject/distinfo @@ -1,2 +1,3 @@ -SHA256 (PEAR/PHPUnit_MockObject-1.2.2.tgz) = 79cf716da2fee75230b76081a20df013705884ad327c0e3d653f95d065849a47 -SIZE (PEAR/PHPUnit_MockObject-1.2.2.tgz) = 20347 +TIMESTAMP = 1489066331 +SHA256 (sebastianbergmann-phpunit-mock-objects-4.0.1_GH0.tar.gz) = b5519cc1f4f5b7949ea00d80d421d2eb286526c4dab66213fcd414f0b3f17e1f +SIZE (sebastianbergmann-phpunit-mock-objects-4.0.1_GH0.tar.gz) = 36788