# -*- 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
maintainers {ryandesign @ryandesign} openmaintainer
php.branches 5.3 5.4 5.5 5.6 7.0 7.1 7.2 7.3
if {[vercmp ${php.branch} 7] >= 0} {
checksums rmd160 f1130921184a28025640f19d73aa54004a9cb695 \
sha256 fbef36c02fe07dd4d7922ec9ce3d5d71b27a2e91dbcc69604230b3d4013bc6a5 \
checksums rmd160 75dc13b0c4822a0e18faa30bdeb7140daa14b494 \
sha256 1d2a35811a29e0744e852dda526f30c8a0cba516ef611758dd5bd4837ecba1fd \
description Provides a wrapper to the GraphicsMagick library
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}
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}
xinstall -m 0644 ${worksrcpath}/README ${destroot}${docdir}