2012-05-17 23:07:56 +00:00
|
|
|
# -*- 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
|
|
|
|
|
|
2026-03-30 02:24:15 +02:00
|
|
|
PortSystem 1.0
|
|
|
|
|
PortGroup php 1.1
|
2012-05-17 23:07:56 +00:00
|
|
|
|
2026-03-30 02:24:15 +02:00
|
|
|
name php-xrange
|
|
|
|
|
version 1.3.2
|
|
|
|
|
license PHP
|
|
|
|
|
categories-append devel
|
|
|
|
|
maintainers {ryandesign @ryandesign} {mathiesen.info:macintosh @BjarneDMat} openmaintainer
|
2012-05-28 06:15:59 +00:00
|
|
|
|
2026-03-30 02:24:15 +02:00
|
|
|
php.branches 5.3 5.4 5.5 5.6
|
|
|
|
|
php.pecl yes
|
2012-05-28 06:15:59 +00:00
|
|
|
|
2026-03-30 02:24:15 +02:00
|
|
|
description Numeric iterator primitives
|
2012-05-17 23:07:56 +00:00
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
2026-03-30 02:24:15 +02:00
|
|
|
checksums rmd160 07439763a6b7cea81fa1f47d1062da81bc6efc3a \
|
|
|
|
|
sha256 612849c8e6d5587183a3fb1e39bb5e4a061fe911d5bd3f9b08f6796ee1f4c112
|
2012-05-17 23:07:56 +00:00
|
|
|
|
2014-09-01 01:05:32 +00:00
|
|
|
if {${name} ne ${subport}} {
|
2012-05-17 23:07:56 +00:00
|
|
|
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}
|
|
|
|
|
}
|
|
|
|
|
}
|