source: trunk/dports/php/php-unit-mock-objects/Portfile

Last change on this file was 145239, checked in by mf2k@…, 18 months ago

php-unit-mock-objects rb19-main: Ports abandoned. (#50478)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# -*- 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
2# $Id: Portfile 145239 2016-01-29 14:40:55Z ryandesign@macports.org $
3
4PortSystem              1.0
5PortGroup               php 1.1
6
7name                    php-unit-mock-objects
8set cap_name            PHPUnit_MockObject
9version                 1.2.3
10categories-append       devel
11maintainers             nomaintainer
12license                 BSD
13
14homepage                https://github.com/sebastianbergmann/phpunit-mock-objects
15master_sites            http://pear.phpunit.de/get/
16distname                ${cap_name}-${version}
17extract.suffix          .tgz
18platforms               darwin freebsd
19
20checksums               rmd160  d91b0301b75343772641646314d012001f8a2b34 \
21                        sha256  f269bbc43735d2e5f038bc9af0fe481f1ebedd552c0798ffcf78298f8e4b359b
22
23description             Mock Object library for PHPUnit
24long_description \
25    ${description}
26
27php.branches            5.3 5.4 5.5
28
29php.build_dirs
30
31if {$name ne $subport} {
32    depends_lib         port:${php}-text-template
33
34    destroot {
35        xinstall -d ${destroot}${prefix}/lib/php
36        file copy ${worksrcpath}/PHPUnit ${destroot}${prefix}/lib/php/PHPUnit
37    }
38
39    livecheck.type      none
40} else {
41    livecheck.type      regex
42    livecheck.url       ${homepage}/tags
43    livecheck.regex     {/([0-9.]+)"}
44}
Note: See TracBrowser for help on using the repository browser.