Files

35 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-pdflib
categories-append print textproc
maintainers {ryandesign @ryandesign} {mathiesen.info:macintosh @BjarneDMat} openmaintainer
# 4.1.4 was released with a restrictive license.
# 4.1.5 changed it to the PHP license.
# https://bugs.php.net/bug.php?id=78947
license Restrictive
# Not compatible with PHP 8 and no longer maintained.
php.branches 5.3 5.4 5.5 5.6 7.0 7.1 7.2 7.3 7.4
php.pecl yes
description PHP bindings for pdflib
long_description ${description}
if {[vercmp ${php.branch} >= 5.3]} {
version 4.1.4
revision 0
checksums rmd160 c9e1637edebe1b299e3b0f07b7700a2ace66efc1 \
sha256 8165e80e3cfcaf6611aadc7a58977e73174d3f33b770ab9f8240f56f4de2179e \
size 32652
}
if {${name} ne ${subport}} {
depends_lib-append port:pdflib
configure.args --with-pdflib=${prefix}
}