Ticket #25844: Portfile-v672.patch
File Portfile-v672.patch, 2.7 KB (added by adfernandes (Andrew Fernandes), 13 years ago) |
---|
-
Portfile
1 1 # $Id$ 2 2 3 PortSystem 1.04 PortGroup perl5 1.03 PortSystem 1.0 4 PortGroup perl5 1.0 5 5 6 perl5.setup PerlMagick 6.59 7 revision 3 8 maintainers futurelab.ch:astricker 9 description Perl extension for calling ImageMagick's libMagick methods 10 long_description ${description} 6 epoch 1 7 perl5.setup PerlMagick 6.7.2-0 8 set reasonable_version [lindex [split ${version} -] 0] 9 set my_name ImageMagick 10 maintainers futurelab.ch:astricker 11 description Perl extension for calling ImageMagick's libMagick methods 12 long_description ${description} 13 license ImageMagick 14 platforms darwin 15 use_7z yes 11 16 12 platforms darwin 17 # we use the ImageMagick distribution version of PerlMagick to 18 # ensure it will always match ImageMagick version installed 13 19 14 checksums md5 1e9503c77a89d5e48db7b4c9d5aa1c41 \ 15 sha1 ec57329b5a9e31b0f00fb5cc45312ffe53827ff9 \ 16 rmd160 b30008a8e09e16e81948ecb0c8ebc38079d0bb2a 20 master_sites http://image_magick.veidrodis.com/image_magick/ \ 21 http://imagemagick.linux-mirror.org/download/ \ 22 ftp://ftp.imagemagick.net/pub/${name}/ \ 23 ftp://ftp.fifi.org/pub/ImageMagick/ 17 24 18 master_sites http://search.cpan.org/CPAN/authors/id/J/JC/JCRISTY/ 25 dist_subdir ImageMagick 26 distname ${my_name}-${version} 27 worksrcdir ${worksrcdir}/PerlMagick 19 28 29 checksums sha1 e270e3c91d20cb97194c383014b5efe0355cda2f \ 30 rmd160 34aa79058170bd94db7dd635e8b7760e5bc88cf7 31 20 32 if {${perl5.major} != ""} { 21 depends_build-append port:bzip2 port:freetype port:jpeg port:libpng port:tiff \ 22 port:zlib 23 depends_lib-append port:ImageMagick 24 25 patchfiles patch-Makefile.PL.diff 26 33 depends_lib-append port:ImageMagick 27 34 post-patch { 28 35 if {[variant_isset universal]} { 29 36 set archflags ${configure.universal_cflags} … … 34 41 reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/Makefile.PL 35 42 } 36 43 } 44 45 livecheck.version ${reasonable_version} 46 livecheck.type regex 47 livecheck.url http://ftp.surfnet.nl/pub/ImageMagick/ 48 livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)(?:-\\d+)?