source: trunk/dports/php/php-timer/Portfile

Last change on this file was 108700, checked in by ryandesign@…, 4 years ago

set svn:keywords to Id

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 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 108700 2013-07-31 04:29:24Z ryandesign@macports.org $
3
4PortSystem              1.0
5PortGroup               php 1.1
6
7name                    php-timer
8set cap_name            PHP_Timer
9version                 1.0.4
10categories-append       devel
11maintainers             nomaintainer
12license                 BSD
13
14homepage                https://github.com/sebastianbergmann/php-timer
15master_sites            http://pear.phpunit.de/get/
16distname                ${cap_name}-${version}
17extract.suffix          .tgz
18platforms               darwin freebsd
19checksums               rmd160  11ce7b395234b2f1e0c9f7107067f2b2d3354c9d \
20                        sha256  f51965eea8ec722843f0a10cd4b9c35aaecf0a816ac80929dbab87c8a6d8692b
21description             utility class for timing in PHP
22long_description \
23    ${description}
24
25php.branches            5.3 5.4 5.5
26
27php.build_dirs
28
29if {$name ne $subport} {
30    destroot {
31        xinstall -d ${destroot}${prefix}/lib/php
32        file copy ${worksrcpath}/PHP ${destroot}${prefix}/lib/php/PHP
33    }
34
35    livecheck.type      none
36} else {
37    livecheck.type      regex
38    livecheck.url       ${homepage}/tags
39    livecheck.regex     {/([0-9.]+)"}
40}
Note: See TracBrowser for help on using the repository browser.