# -*- 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 # $Id$ PortSystem 1.0 PortGroup php5extension 1.0 php5extension.setup magickwand 1.0.9-2 categories-append graphics platforms darwin maintainers ryandesign openmaintainer license ImageMagick description MagickWand for PHP long_description This module enables PHP access to the ImageMagick MagickWand API homepage http://www.magickwand.org/ master_sites ${homepage}download/php/ \ ${homepage}download/php/legacy/ distname MagickWandForPHP-${version} use_bzip2 yes worksrcdir [join [lrange [split ${distname} -] 0 1] -] checksums rmd160 486c3c4cc63bd8a8c59b5dc7659f1130cd27d111 \ sha256 05e5fe5bc52ab9169228bbbde38b222208d1ae19db718b66d2c7ac4180847727 depends_lib-append port:ImageMagick patchfiles patch-magickwand.h.diff post-patch { reinplace "s|@VERSION@|${version}|g" ${worksrcpath}/magickwand.h } configure.args --with-magickwand=${prefix} livecheck.type regex livecheck.url [lindex ${master_sites} 0] livecheck.regex MagickWandForPHP-(\[0-9.-\]+)${extract.suffix}