# -*- 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-gmagick license PHP categories php devel maintainers {ryandesign @ryandesign} openmaintainer php.branches 5.3 5.4 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 php.pecl yes php.pecl.prerelease yes if {[vercmp ${php.branch} >= 7.0]} { version 2.0.6RC1 revision 0 checksums rmd160 73f8dca7274b787b57dfdcf5654f7a96789c84c2 \ sha256 350cb71a4fbd58e037c7182cafa14e6f6df952126869205918fcc9ec5798e2fa \ size 133127 } else { version 1.1.7RC3 revision 0 checksums rmd160 75dc13b0c4822a0e18faa30bdeb7140daa14b494 \ sha256 1d2a35811a29e0744e852dda526f30c8a0cba516ef611758dd5bd4837ecba1fd \ size 97860 } description Provides a wrapper to the GraphicsMagick library long_description \ Gmagick is a php extension to create, modify and obtain meta information \ of images using the GraphicsMagick API. if {${name} ne ${subport}} { depends_lib-append port:GraphicsMagick configure.args-append --with-gmagick=${prefix} post-destroot { set docdir ${prefix}/share/doc/${subport} xinstall -d ${destroot}${docdir} xinstall -m 0644 ${worksrcpath}/LICENSE ${destroot}${docdir} if {[vercmp ${php.branch} >= 7.0]} { xinstall -m 0644 ${worksrcpath}/README.md ${destroot}${docdir} } else { xinstall -m 0644 ${worksrcpath}/README ${destroot}${docdir} } } }