You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
030be89bf0
Reindex php70/php71/php72 modules after changing php-1.1 portgroup since it affects whether known_fail will go into the index.
39 lines
1.2 KiB
Tcl
39 lines
1.2 KiB
Tcl
# -*- 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-mcrypt
|
|
categories-append security
|
|
platforms darwin
|
|
maintainers {ryandesign @ryandesign} openmaintainer
|
|
license PHP-3.01
|
|
|
|
# php71-mcrypt and earlier subports are in the php Portfile.
|
|
php.branches 7.2 7.3 7.4 8.0
|
|
php.pecl yes
|
|
|
|
description a PHP interface to the mcrypt library, which offers \
|
|
a wide variety of algorithms
|
|
|
|
long_description ${description}
|
|
|
|
if {[vercmp ${php.branch} 7.2] >= 0} {
|
|
version 1.0.4
|
|
revision 0
|
|
checksums rmd160 3956ed1cc4f25d9da80f80e4f14bb0f4c7e260bf \
|
|
sha256 98153e78958d7a48dcd0dcfe1fc3c16ec987121a0cb2d7c273d280ee7e4ea00d \
|
|
size 27056
|
|
|
|
}
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_lib-append port:libmcrypt
|
|
|
|
# The mcrypt extension may be using libtool unnecessarily; monitor
|
|
# https://bugs.php.net/bug.php?id=54500
|
|
depends_lib-append port:libtool
|
|
|
|
configure.args-append --with-mcrypt=${prefix}
|
|
}
|