[108244] trunk/dports/php
sean at macports.org
sean at macports.org
Tue Jul 16 17:46:53 PDT 2013
Revision: 108244
https://trac.macports.org/changeset/108244
Author: sean at macports.org
Date: 2013-07-16 17:46:53 -0700 (Tue, 16 Jul 2013)
Log Message:
-----------
php5-unit-mock-objects: add php port group and update to 1.2.3
Added Paths:
-----------
trunk/dports/php/php-unit-mock-objects/
trunk/dports/php/php-unit-mock-objects/Portfile
Removed Paths:
-------------
trunk/dports/php/php5-unit-mock-objects/
Added: trunk/dports/php/php-unit-mock-objects/Portfile
===================================================================
--- trunk/dports/php/php-unit-mock-objects/Portfile (rev 0)
+++ trunk/dports/php/php-unit-mock-objects/Portfile 2013-07-17 00:46:53 UTC (rev 108244)
@@ -0,0 +1,44 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+PortGroup php 1.1
+
+name php-unit-mock-objects
+set cap_name PHPUnit_MockObject
+version 1.2.3
+categories-append devel
+maintainers singingwolfboy openmaintainer
+license BSD
+
+homepage https://github.com/sebastianbergmann/phpunit-mock-objects
+master_sites http://pear.phpunit.de/get/
+distname ${cap_name}-${version}
+extract.suffix .tgz
+platforms darwin freebsd
+
+checksums rmd160 d91b0301b75343772641646314d012001f8a2b34 \
+ sha256 f269bbc43735d2e5f038bc9af0fe481f1ebedd552c0798ffcf78298f8e4b359b
+
+description Mock Object library for PHPUnit
+long_description \
+ ${description}
+
+php.branches 5.3 5.4 5.5
+
+php.build_dirs
+
+if {$name ne $subport} {
+ depends_lib port:${php}-text-template
+
+ destroot {
+ xinstall -d ${destroot}${prefix}/lib/php
+ file copy ${worksrcpath}/PHPUnit ${destroot}${prefix}/lib/php/PHPUnit
+ }
+
+ livecheck.type none
+} else {
+ livecheck.type regex
+ livecheck.url ${homepage}/tags
+ livecheck.regex {/([0-9.]+)"}
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130716/ab7bc9cb/attachment-0001.html>
More information about the macports-changes
mailing list