# -*- 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 perl5 1.0 # Keep relevant lines in sync between ImageMagick and p5-perlmagick. epoch 1 perl5.branches 5.16 5.18 5.20 5.22 perl5.setup PerlMagick 6.9.0-0 set reasonable_version \ [lindex [split ${version} -] 0] set my_name ImageMagick maintainers futurelab.ch:astricker ryandesign description Perl extension for calling ImageMagick's libMagick methods long_description ${description} license Apache-2 platforms darwin use_xz yes # we use the ImageMagick distribution version of PerlMagick to # ensure it will always match ImageMagick version installed master_sites http://www.imagemagick.org/download/ \ http://mirror.checkdomain.de/imagemagick/ \ ftp://ftp.u-aizu.ac.jp/pub/graphics/image/ImageMagick/imagemagick.org/ \ ftp://ftp.sunet.se/pub/multimedia/graphics/ImageMagick \ ftp://sunsite.icm.edu.pl/packages/ImageMagick dist_subdir ImageMagick distname ${my_name}-${version} checksums rmd160 28eee0e91bc0cef91a6531808addc38c6c26f478 \ sha256 12331c904c691cb128865fdc97e5f8a2654576f9b032e274b74dd7617aa1b9b6 if {${perl5.major} != ""} { depends_lib-append port:ImageMagick configure.dir ${worksrcpath}/PerlMagick build.dir ${configure.dir} pre-configure { system -W ${worksrcpath} "CC=${configure.cc} CXX=${configure.cxx} ./configure --prefix=${prefix} --disable-openmp --with-quantum-depth=16 --with-perl=${perl5.bin}" system -W ${worksrcpath} "make perl-sources" } use_parallel_build no livecheck.type none } else { livecheck.version ${reasonable_version} livecheck.type regex livecheck.url [lindex ${master_sites} 0] livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)(?:-\\d+)? }