# -*- 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
version 1.0.1
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
php.pecl yes
php.pecl.prerelease yes
description a PHP interface to the mcrypt library, which offers \
a wide variety of algorithms
long_description ${description}
checksums rmd160 5887bb08d105d8a82d4c5360d1811103947f163e \
sha256 a3b0e5493b5cd209ab780ee54733667293d369e6b7052b4a7dab9dd0def46ac6 \
size 33782
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}
}