source: trunk/dports/php/php-token-stream/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.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 108700 2013-07-31 04:29:24Z ryandesign@macports.org $
3
4PortSystem              1.0
5PortGroup               php 1.1
6
7name                    php-token-stream
8set cap_name            PHP_TokenStream
9version                 1.1.5
10categories-append       devel
11maintainers             nomaintainer
12license                 BSD
13
14homepage                https://github.com/sebastianbergmann/php-token-stream
15master_sites            http://pear.phpunit.de/get/
16distname                ${cap_name}-${version}
17extract.suffix          .tgz
18platforms               darwin freebsd
19checksums               rmd160  f33d72d3aa16b922892b48b0c83f9cea617f4c3a \
20                        sha256  9ac8f3c2345d5a65920dd176cbe4334b8f4e52511bcb617967cc925e4a8b7945
21description             wrapper around PHP's tokenizer extension
22long_description \
23    ${description}
24
25
26php.branches            5.3 5.4 5.5
27
28php.build_dirs
29
30if {$name ne $subport} {
31    destroot {
32        xinstall -d ${destroot}${prefix}/lib/php
33        file copy ${worksrcpath}/PHP ${destroot}${prefix}/lib/php/PHP
34    }
35
36    livecheck.type          none
37} else {
38    livecheck.type          regex
39    livecheck.url           ${homepage}/releases
40    livecheck.regex         {/([0-9.]+)"}
41}
Note: See TracBrowser for help on using the repository browser.