svn commit: r436239 - head/devel/pear-PHPUnit_MockObject

Bartek Rutkowski robak at FreeBSD.org
Wed Mar 15 12:58:08 UTC 2017


Author: robak
Date: Wed Mar 15 12:58:06 2017
New Revision: 436239
URL: https://svnweb.freebsd.org/changeset/ports/436239

Log:
  devel/pear-PHPUnit_MockObject: update 1.2.2 -> 4.0.1
  
  - Change upstream location to GH
  
  PR:		217661
  Submitted by:	Jochen Neumeister <joneum at bsdproject.de> (maintainer)

Modified:
  head/devel/pear-PHPUnit_MockObject/Makefile
  head/devel/pear-PHPUnit_MockObject/distinfo

Modified: head/devel/pear-PHPUnit_MockObject/Makefile
==============================================================================
--- head/devel/pear-PHPUnit_MockObject/Makefile	Wed Mar 15 12:14:13 2017	(r436238)
+++ head/devel/pear-PHPUnit_MockObject/Makefile	Wed Mar 15 12:58:06 2017	(r436239)
@@ -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 at 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 <bsd.port.mk>

Modified: head/devel/pear-PHPUnit_MockObject/distinfo
==============================================================================
--- head/devel/pear-PHPUnit_MockObject/distinfo	Wed Mar 15 12:14:13 2017	(r436238)
+++ head/devel/pear-PHPUnit_MockObject/distinfo	Wed Mar 15 12:58:06 2017	(r436239)
@@ -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


More information about the svn-ports-head mailing list