Files
macports-ports/php/php-mcrypt/Portfile
T
2023-12-21 05:33:18 -06:00

37 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
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 8.1 8.2 8.3
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]} {
version 1.0.7
revision 0
checksums rmd160 38278a6ee4543a66da43532ca1586075122f98e0 \
sha256 12ea2fbbf2e2efbe790a12121f77bf096c8b84cef81d0216bec00d56e5badef4 \
size 27060
}
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}
}