mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
37 lines
1.1 KiB
Tcl
37 lines
1.1 KiB
Tcl
# -*- 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
|
|
|
|
PortSystem 1.0
|
|
PortGroup php 1.1
|
|
|
|
name php-rar
|
|
categories-append devel
|
|
maintainers {ryandesign @ryandesign} {mathiesen.info:macintosh @BjarneDMat} openmaintainer
|
|
license PHP-3
|
|
|
|
php.branches 5.3 5.4 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
|
|
php.pecl yes
|
|
|
|
description A PECL extension to create and read rar files.
|
|
|
|
long_description {*}${description}
|
|
|
|
homepage https://www.php.net/rar
|
|
|
|
if {[vercmp ${php.branch} >= 5.3]} {
|
|
version 4.2.0
|
|
revision 0
|
|
checksums rmd160 7be858454d8aad7d0d5f0162fab98a33c57a81d1 \
|
|
sha256 660d7d6bc97cc45395e56621aa8803a9f9d4b3436c576d67afe712c8f964a4b9 \
|
|
size 428258
|
|
if {[vercmp ${php.branch} >= 8.1]} {
|
|
patchfiles php81.patch
|
|
if {[vercmp ${php.branch} >= 8.2]} {
|
|
patchfiles-append php82.patch
|
|
}
|
|
}
|
|
}
|
|
|
|
configure.args-append --enable-rar
|
|
|
|
use_parallel_build yes
|