php: PortGroup obsolete 1.0 a lot of php extensions

php5-*      : PortGroup obsolete 1.0
phpsh       : PortGroup obsolete 1.0
php-midgard2: PortGroup obsolete 1.0
php-Twig    : PortGroup obsolete 1.0
php-unit    : PortGroup obsolete 1.0 for all ports belonging to php-unit
This commit is contained in:
BjarneDM
2025-02-03 21:06:38 +01:00
committed by Joshua Root
parent f9a25414a2
commit 53f90d594e
13 changed files with 49 additions and 434 deletions
+5 -19
View File
@@ -1,27 +1,13 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
# Remove after 2027-03-01
PortSystem 1.0
PortGroup github 1.0
PortGroup php 1.1
PortSystem 1.0
PortGroup obsolete 1.0
github.setup fabpot Twig 1.16.2 v
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
name php-Twig
version 3.22.2
categories-append devel
maintainers {ryandesign @ryandesign} openmaintainer
license BSD
php.branches 5.3 5.4 5.5 5.6
php.build_dirs ${worksrcpath}/ext/twig/
description Enhances the performance of the Twig runtime engine.
long_description Enhances the performance of the Twig runtime engine.
homepage https://twig.sensiolabs.org
checksums rmd160 340c869fbb55bb1280e0d43c1d11a20fe901e2b4 \
sha256 b06a14be0dd0c414f1bbb28b99ef0a3d448dfb04553c6c2ac3798977d7b5ddbf
use_parallel_build yes
homepage https://github.com/fabpot/Twig
+3 -33
View File
@@ -1,43 +1,13 @@
# -*- 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
# Remove after 2027-03-01
PortSystem 1.0
PortGroup php 1.1
PortGroup obsolete 1.0
name php-code-coverage
set cap_name PHP_CodeCoverage
version 1.2.12
version 13.0.1
categories-append devel
maintainers nomaintainer
license BSD
homepage https://github.com/sebastianbergmann/php-code-coverage/
master_sites http://pear.phpunit.de/get/
distname ${cap_name}-${version}
extract.suffix .tgz
platforms darwin freebsd
checksums rmd160 245d5f25b0373cbaeaa9be7a62c32a52fc8baf53 \
sha256 e33bf29710944edc2ea53765551565848533ab9caf75c3c06666e5de6d1ac05f
description code coverage information for PHP
long_description \
PHP_CodeCoverage is a library that provides collection, processing, and rendering \
functionality for PHP code coverage information.
php.branches 5.3 5.4 5.5
php.build_dirs
if {${name} ne ${subport}} {
depends_lib-append port:${php}-file-iterator port:${php}-token-stream \
port:${php}-text-template
destroot {
xinstall -d ${destroot}${prefix}/lib/php
file copy ${worksrcpath}/PHP ${destroot}${prefix}/lib/php/PHP
}
livecheck.type none
} else {
livecheck.type regex
livecheck.url ${homepage}tags
livecheck.regex {/([0-9.]+)"}
}
+5 -30
View File
@@ -1,39 +1,14 @@
# -*- 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
# Remove after 2027-03-01
PortSystem 1.0
PortGroup php 1.1
PortGroup obsolete 1.0
name php-file-iterator
set cap_name File_Iterator
version 1.3.3
categories php devel
maintainers nomaintainer
version 84
categories-append devel
maintainers {mathiesen.info:macintosh BjarneDMat} openmaintainer
license BSD
homepage https://github.com/sebastianbergmann/php-file-iterator/
master_sites http://pear.phpunit.de/get/
distname ${cap_name}-${version}
extract.suffix .tgz
platforms darwin freebsd
checksums rmd160 8f12239485089421221d0d3359076b54668c0835 \
sha256 10a3f840cab6ae49cd10590026ffc43930dddd2a33b57fb16c6c14eaa5ef7211
description file iterator for PHP
long_description \
${description}
php.branches 5.3 5.4 5.5
php.build_dirs
if {$name ne $subport} {
destroot {
xinstall -d ${destroot}${prefix}/lib/php
file copy ${worksrcpath}/File ${destroot}${prefix}/lib/php/File
}
livecheck.type none
} else {
livecheck.type regex
livecheck.url ${homepage}releases
livecheck.regex {/([0-9.]+)"}
}
+7 -34
View File
@@ -1,37 +1,10 @@
# -*- 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
# Remove after 2027-03-01
PortSystem 1.0
PortGroup php 1.1
PortSystem 1.0
PortGroup obsolete 1.0
name php-midgard2
version 12.09.1
license GPL-2
categories php
maintainers nomaintainer
description A content management system
long_description Midgard is a content management system platform using \
Apache, PHP and MySQL.
platforms darwin
homepage http://www.midgard-project.org/
master_sites https://github.com/midgardproject/midgard-php5/downloads
distname php5-midgard2-${version}
php.branches 5.3 5.4
#use_bzip2 yes
checksums rmd160 30180ca78719f01946b63e112fce5768e8373752 \
sha256 b88962c95a92c1b08bc147b0bacc69987e6b00ca2ea54575933ecbd53bc3491f
if {${name} != ${subport}} {
depends_build-append path:bin/pkg-config:pkgconfig
depends_lib-append port:midgard2-core
configure.args-append --sysconfdir=${prefix}/etc/midgard/
}
livecheck.type regex
livecheck.url ${master_sites}
livecheck.regex php5-midgard2-(\[0-9.\]+)\\.tar\\.\[bg\]z
name php-midgard2
version 12.09.1
license GPL-2
homepage http://www.midgard-project.org/
+3 -29
View File
@@ -1,39 +1,13 @@
# -*- 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
# Remove after 2027-03-01
PortSystem 1.0
PortGroup php 1.1
PortGroup obsolete 1.0
name php-text-template
set cap_name Text_Template
version 1.1.4
version 6.0.0
categories-append devel
maintainers nomaintainer
license BSD
homepage https://github.com/sebastianbergmann/php-text-template
master_sites http://pear.phpunit.de/get/
distname ${cap_name}-${version}
extract.suffix .tgz
platforms darwin freebsd
checksums rmd160 6a627a1cb7637d7921b3114baaece377b6b0483c \
sha256 905e9ed8f26cbe41b3c6ab5d0a8f760aee83c5abbccba48d27aa2975decf937b
description simple template engine for PHP
long_description \
${description}
php.branches 5.3 5.4 5.5
php.build_dirs
if {$name ne $subport} {
destroot {
xinstall -d ${destroot}${prefix}/lib/php
file copy ${worksrcpath}/Text ${destroot}${prefix}/lib/php/Text
}
livecheck.type none
} else {
livecheck.type regex
livecheck.url ${homepage}/tags
livecheck.regex {/([0-9.]+)"}
}
+4 -27
View File
@@ -1,36 +1,13 @@
# -*- 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
# Remove after 2027-03-01
PortSystem 1.0
PortGroup php 1.1
PortGroup github 1.0
PortGroup obsolete 1.0
github.setup sebastianbergmann php-timer 8.0.0 v
distname ${version}
master_sites https://github.com/sebastianbergmann/php-timer/archive/refs/tags/
revision 0
name php-timer
version 9.0.0
categories-append devel
maintainers nomaintainer
license BSD
homepage https://github.com/sebastianbergmann/php-timer
platforms darwin freebsd
checksums rmd160 92e5e7992011273766fc99f740783661e884669c \
sha256 009c22770fb076856eda12afec88876773aae9e52da5c0a417e54ebc6920d97e \
size 6019
description utility class for timing in PHP
long_description \
${description}
worksrcdir ${name}-${version}
php.branches 8.3 8.4
php.build_dirs
if {$name ne $subport} {
destroot {
xinstall -d ${destroot}${prefix}/lib/php
file copy ${worksrcpath}/src ${destroot}${prefix}/lib/php/php-timer
}
}
livecheck.regex {/([0-9.]+)"}
+2 -27
View File
@@ -1,7 +1,8 @@
# -*- 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
# Remove after 2027-03-01
PortSystem 1.0
PortGroup php 1.1
PortGroup obsolete 1.0
name php-token-stream
set cap_name PHP_TokenStream
@@ -12,29 +13,3 @@ license BSD
homepage https://github.com/sebastianbergmann/php-token-stream
master_sites http://pear.phpunit.de/get/
distname ${cap_name}-${version}
extract.suffix .tgz
platforms darwin freebsd
checksums rmd160 f33d72d3aa16b922892b48b0c83f9cea617f4c3a \
sha256 9ac8f3c2345d5a65920dd176cbe4334b8f4e52511bcb617967cc925e4a8b7945
description wrapper around PHP's tokenizer extension
long_description \
${description}
php.branches 5.3 5.4 5.5
php.build_dirs
if {$name ne $subport} {
destroot {
xinstall -d ${destroot}${prefix}/lib/php
file copy ${worksrcpath}/PHP ${destroot}${prefix}/lib/php/PHP
}
livecheck.type none
} else {
livecheck.type regex
livecheck.url ${homepage}/releases
livecheck.regex {/([0-9.]+)"}
}
+3 -33
View File
@@ -1,43 +1,13 @@
# -*- 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
# Remove after 2027-03-01
PortSystem 1.0
PortGroup php 1.1
PortGroup obsolete 1.0
name php-unit-mock-objects
set cap_name PHPUnit_MockObject
version 1.2.3
version 6.1.2
categories-append devel
maintainers nomaintainer
license BSD
homepage https://github.com/sebastianbergmann/phpunit-mock-objects
master_sites http://pear.phpunit.de/get/
distname ${cap_name}-${version}
extract.suffix .tgz
platforms darwin freebsd
checksums rmd160 d91b0301b75343772641646314d012001f8a2b34 \
sha256 f269bbc43735d2e5f038bc9af0fe481f1ebedd552c0798ffcf78298f8e4b359b
description Mock Object library for PHPUnit
long_description \
${description}
php.branches 5.3 5.4 5.5
php.build_dirs
if {$name ne $subport} {
depends_lib port:${php}-text-template
destroot {
xinstall -d ${destroot}${prefix}/lib/php
file copy ${worksrcpath}/PHPUnit ${destroot}${prefix}/lib/php/PHPUnit
}
livecheck.type none
} else {
livecheck.type regex
livecheck.url ${homepage}/tags
livecheck.regex {/([0-9.]+)"}
}
+3 -49
View File
@@ -1,61 +1,15 @@
# -*- 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
# Remove after 2027-03-01
PortSystem 1.0
PortGroup php 1.1
PortGroup obsolete 1.0
name php-unit
set real_name phpunit
set cap_name PHPUnit
version 3.7.22
categories-append devel
maintainers nomaintainer
supported_archs noarch
license BSD
homepage https://github.com/sebastianbergmann/phpunit
master_sites http://pear.phpunit.de/get/
distname ${cap_name}-${version}
extract.suffix .tgz
platforms any
checksums rmd160 3ff9547dfa6cb2f473790d062c96f0ca2302cdc1 \
sha256 0c7499926910400893d0f1d591fd397ce327bbe2090106bb4cca911c1a51da27
description unit testing for PHP
long_description \
PHPUnit is a member of the xUnit family of testing frameworks \
and provides both a framework that makes the writing of tests easy \
as well as the functionality to easily run the tests and analyse \
their results.
php.branches 5.3 5.4 5.5
php.build_dirs
if {$name ne $subport} {
depends_lib port:${php}-file-iterator \
port:${php}-code-coverage port:${php}-timer \
port:${php}-unit-mock-objects
destroot {
reinplace "s|@php_bin@|${prefix}/bin/php|" ${worksrcpath}/${real_name}.php
reinplace "s|@php_dir@|${prefix}/lib/php|" ${worksrcpath}/${real_name}.php
reinplace "s|@php_bin@|${prefix}/bin/php|" ${worksrcpath}/${cap_name}/Util/PHP.php
reinplace "s|#!/usr/bin/env php|#!${prefix}/bin/php|" ${worksrcpath}/${real_name}.php
xinstall -m 755 ${worksrcpath}/${real_name}.php ${destroot}${prefix}/bin/${real_name}
xinstall -d ${destroot}${prefix}/lib/php
file copy ${worksrcpath}/${cap_name} ${destroot}${prefix}/lib/php/${cap_name}
set docdir ${destroot}${prefix}/share/doc/${name}
xinstall -d ${docdir}
xinstall -m 644 -W ${worksrcpath} README.md ${docdir}
}
livecheck.type none
} else {
livecheck.type regex
livecheck.url ${homepage}/tags
livecheck.regex archive/(\[0-9.\]+)\\.tar
}
+3 -37
View File
@@ -1,47 +1,13 @@
# -*- 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
# Remove after 2027-03-01
PortSystem 1.0
PortGroup obsolete 1.0
name php5-simpletest
set real_name simpletest
set cap_name SimpleTest
version 1.1.0
set branch [join [lrange [split ${version} .] 0 1] .]
categories php devel
categories-append devel
maintainers nomaintainer
supported_archs noarch
license LGPL-2
homepage http://simpletest.org/
master_sites sourceforge:project/simpletest/simpletest/simpletest_${branch}
distname ${real_name}_${version}
worksrcdir ${real_name}
platforms any
checksums rmd160 a253e6a4424326455a00908e660d7d29a1730f54 \
sha256 c9843becf2cec9022e11a05c8e95ae9e8d23624054c5c4e8e2b68f153e98d665
description unit testing for PHP
long_description \
SimpleTest is a PHP unit test and web test framework. Users of JUnit will \
be familiar with most of the interface. The JWebUnit style functionality \
is more complete now. It has support for SSL, forms, frames, proxies and \
basic authentication. The idea is that common but fiddly PHP tasks, such \
as logging into a site, can be tested easily.
depends_lib path:bin/php:php5
use_configure no
build {}
destroot {
set docdir ${destroot}${prefix}/share/doc/${name}
xinstall -d ${docdir}
delete ${worksrcpath}/LICENSE
delete ${worksrcpath}/VERSION
foreach d {docs README HELP_MY_TESTS_DONT_WORK_ANYMORE} {
move ${worksrcpath}/${d} ${docdir}
}
xinstall -d ${destroot}${prefix}/lib/php
file copy ${worksrcpath} ${destroot}${prefix}/lib/php/${cap_name}
}
+3 -35
View File
@@ -1,45 +1,13 @@
# -*- 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
# Remove after 2027-03-01
PortSystem 1.0
PortGroup obsolete 1.0
name php5-unit-db
set real_name dbunit
set cap_name DbUnit
version 1.0.1
categories php devel
categories-append devel
maintainers nomaintainer
supported_archs noarch
license BSD
homepage https://github.com/sebastianbergmann/dbunit/
master_sites http://pear.phpunit.de/get/
distname ${cap_name}-${version}
extract.suffix .tgz
platforms any
checksums md5 cc150251100b74879ba22a211079e8f4 \
sha1 9f3052e7b825a7dc7a54b9832e90345350b8b491 \
rmd160 00a5a5fbe4e2d4ef87eaca9338dd6a829ca2a516
description DbUnit for PHP
long_description \
Port of DbUnit for integration with PHPUnit
depends_lib path:bin/php:php5
use_configure no
build {}
destroot {
reinplace "s|@php_bin@|${prefix}/bin/php|" ${worksrcpath}/${real_name}.php
reinplace "s|#!/usr/bin/env php|#!${prefix}/bin/php|" ${worksrcpath}/${real_name}.php
xinstall -m 755 ${worksrcpath}/${real_name}.php ${destroot}${prefix}/bin/${real_name}
xinstall -d ${destroot}${prefix}/lib/php
file copy ${worksrcpath}/PHPUnit ${destroot}${prefix}/lib/php/PHPUnit
set docdir ${destroot}${prefix}/share/doc/${name}
xinstall -d ${docdir}
xinstall -m 644 -W ${worksrcpath} ChangeLog.markdown ${docdir}
}
livecheck.type regex
livecheck.url ${homepage}/downloads
livecheck.regex {/([0-9.]+)"}
+3 -27
View File
@@ -1,37 +1,13 @@
# -*- 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
# Remove after 2027-03-01
PortSystem 1.0
PortGroup obsolete 1.0
name php5-unit-selenium
set cap_name PHPUnit_Selenium
version 1.0.3
categories php devel
categories-append devel
maintainers nomaintainer
supported_archs noarch
license BSD
homepage https://github.com/sebastianbergmann/phpunit-selenium
master_sites http://pear.phpunit.de/get/
distname ${cap_name}-${version}
extract.suffix .tgz
platforms any
checksums sha1 01b8b83bd7f1e4efa6639bf6369bbdb1b8c6f16a \
rmd160 3971a41600ab7493f9908f5df0338220a0f9ab84
description Selenium RC integration for PHPUnit
long_description \
{*}${description}
depends_lib path:bin/php:php5
use_configure no
build {}
destroot {
xinstall -d ${destroot}${prefix}/lib/php
file copy ${worksrcpath}/PHPUnit ${destroot}${prefix}/lib/php/PHPUnit
}
livecheck.type regex
livecheck.url ${homepage}/downloads
livecheck.regex {/([0-9.]+)"}
+5 -54
View File
@@ -1,64 +1,15 @@
# -*- 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
# Remove after 2027-03-01
PortSystem 1.0
PortGroup github 1.0
PortGroup python 1.0
PortGroup obsolete 1.0
name phpsh
github.setup facebookarchive phpsh 8427a3cd8a2cb8f8f0d85faf0bd9d49b10961a04
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
version 1.3-20140514
categories php devel
categories-append devel
maintainers nomaintainer
supported_archs noarch
license BSD
platforms {darwin any} freebsd
python.default_version 27
homepage http://www.phpsh.org
description PHP read-eval-print-loop
long_description \
phpsh is a read-eval-print-loop for PHP that features readline history, tab \
completion, and quick access to documentation. It was developed at Facebook \
and ironically, is written mostly in Python.
checksums rmd160 cc125343ad114f371a7a86bea53f49ec02fafb35 \
sha256 23ed7e2bdbd5b2b0d1a3ee0667af4402d19dcc6561e1f2b31f8b2a6faf946994 \
size 5915531
patchfiles src-__init__.py.diff
pre-patch {
reinplace -q -locale C s|/etc/phpsh|${prefix}/etc/phpsh|g \
${worksrcpath}/setup.py ${worksrcpath}/rc.example.php \
{*}[glob ${worksrcpath}/src/*] {*}[glob ${worksrcpath}/src/doc/*]
}
post-destroot {
set mandir ${destroot}${prefix}/share/man/man1
move ${destroot}${python.prefix}/man/man1/phpsh.1 ${mandir}
}
set php_suffixes {53 54 55 56 70 71 72}
set php_ports [regsub -all -- {(^|\s)} ${php_suffixes} {\0php}]
set variant_check {}
foreach php ${php_ports} {
set i [lsearch -exact ${php_ports} ${php}]
set c [lreplace ${php_ports} ${i} ${i}]
variant ${php} conflicts {*}${c} description "Use ${php}" "
depends_lib-append port:${php}-pcntl
post-patch {
reinplace s|@@PHP_EXECUTABLE@@|${prefix}/bin/${php}| src/__init__.py
}
"
if {${php} ne [lindex ${php_ports} end]} {
lappend variant_check "!\[variant_isset ${php}\]"
}
}
if [join ${variant_check} {&&}] {default_variants +[lindex ${php_ports} end]}
# archived project no longer supported or updated by Facebook
livecheck.type none