Permalink
Fetching contributors…
Cannot retrieve contributors at this time
38 lines (28 sloc) 1.17 KB
# -*- 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
PortSystem 1.0
PortGroup php 1.1
name php-xrange
version 1.3.2
license PHP
categories php devel
platforms darwin
maintainers ryandesign openmaintainer
php.branches 5.3 5.4 5.5 5.6
php.pecl yes
description Numeric iterator primitives
long_description \
xrange is a compiled extension that provides numeric iteration primitives \
to PHP on top of SPL. It includes a lean numeric range generator / \
iterator, modeled after Python's xrange() function. It's intended to \
provide an alternative for all numeric iteration and looping.
checksums rmd160 07439763a6b7cea81fa1f47d1062da81bc6efc3a \
sha256 612849c8e6d5587183a3fb1e39bb5e4a061fe911d5bd3f9b08f6796ee1f4c112
if {${name} ne ${subport}} {
use_parallel_build yes
test.run yes
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 644 -W ${worksrcpath} CREDITS ${destroot}${docdir}
}
}