Files

45 lines
1.5 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-magickwand
version 1.0.9-2
revision 6
categories-append graphics
maintainers {ryandesign @ryandesign} {mathiesen.info:macintosh @BjarneDMat} 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 https://web.archive.org/web/20191217191128/http://www.magickwand.org/
master_sites https://web.archive.org/web/20170226171749/http://www.magickwand.org/download/php/
distname MagickWandForPHP-${version}
use_bzip2 yes
worksrcdir [join [lrange [split ${distname} -] 0 1] -]
checksums rmd160 486c3c4cc63bd8a8c59b5dc7659f1130cd27d111 \
sha256 05e5fe5bc52ab9169228bbbde38b222208d1ae19db718b66d2c7ac4180847727 \
size 123894
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}
}
# Keep an eye on https://github.com/ImageMagick/MagickWandForPHP for
# possible future developments.
livecheck.type none