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

Last change on this file was 124944, checked in by ryandesign@…, 3 years ago

add php56 subports

  • 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 124944 2014-09-01 01:05:32Z ryandesign@macports.org $
3
4PortSystem      1.0
5PortGroup       php 1.1
6
7name            php-xrange
8version         1.3.2
9license         PHP
10categories      php devel
11platforms       darwin
12maintainers     ryandesign openmaintainer
13
14php.branches    5.3 5.4 5.5 5.6
15php.pecl        yes
16
17description     Numeric iterator primitives
18
19long_description \
20    xrange is a compiled extension that provides numeric iteration primitives \
21    to PHP on top of SPL. It includes a lean numeric range generator / \
22    iterator, modeled after Python's xrange() function. It's intended to \
23    provide an alternative for all numeric iteration and looping.
24
25checksums       rmd160  07439763a6b7cea81fa1f47d1062da81bc6efc3a \
26                sha256  612849c8e6d5587183a3fb1e39bb5e4a061fe911d5bd3f9b08f6796ee1f4c112
27
28if {${name} ne ${subport}} {
29    use_parallel_build  yes
30   
31    test.run            yes
32   
33    post-destroot {
34        set docdir ${prefix}/share/doc/${subport}
35        xinstall -d ${destroot}${docdir}
36        xinstall -m 644 -W ${worksrcpath} CREDITS ${destroot}${docdir}
37    }
38}
Note: See TracBrowser for help on using the repository browser.