2018-04-17 20:21:51 -05: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
|
|
|
|
|
|
|
|
|
|
PortSystem 1.0
|
|
|
|
|
PortGroup php 1.1
|
|
|
|
|
|
|
|
|
|
name php-mcrypt
|
|
|
|
|
categories-append security
|
2026-04-01 20:40:32 +02:00
|
|
|
maintainers {ryandesign @ryandesign} {mathiesen.info:macintosh @BjarneDMat} openmaintainer
|
2018-04-17 20:21:51 -05:00
|
|
|
license PHP-3.01
|
|
|
|
|
|
|
|
|
|
# php71-mcrypt and earlier subports are in the php Portfile.
|
2025-02-12 19:20:10 +01:00
|
|
|
php.branches 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 8.5
|
2018-04-17 20:21:51 -05:00
|
|
|
php.pecl yes
|
|
|
|
|
|
|
|
|
|
description a PHP interface to the mcrypt library, which offers \
|
|
|
|
|
a wide variety of algorithms
|
|
|
|
|
|
|
|
|
|
long_description ${description}
|
|
|
|
|
|
2023-03-03 00:41:34 -06:00
|
|
|
if {[vercmp ${php.branch} >= 7.2]} {
|
2025-02-12 19:20:10 +01:00
|
|
|
version 1.0.9
|
2019-01-12 01:08:23 -06:00
|
|
|
revision 0
|
2025-02-12 19:20:10 +01:00
|
|
|
checksums rmd160 3545e9c5f08983aea6900258746bf61861efdbe7 \
|
|
|
|
|
sha256 2a9ef0817d3bf677f6d7baf8e325629a2758974735d8abad6566384788d424a5 \
|
|
|
|
|
size 27142
|
2019-01-12 01:08:23 -06:00
|
|
|
}
|
2018-04-17 20:21:51 -05:00
|
|
|
|
|
|
|
|
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}
|
|
|
|
|
}
|