# -*- 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 php 1.1 name php-magickwand version 1.0.9-2 revision 1 categories-append graphics platforms darwin maintainers ryandesign openmaintainer license ImageMagick php.branches 5.3 5.4 5.5 5.6 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 if {${name} ne ${subport}} { 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}