[70034] trunk/dports/perl/p5-perlmagick

ryandesign at macports.org ryandesign at macports.org
Tue Jul 27 09:17:01 PDT 2010


Revision: 70034
          http://trac.macports.org/changeset/70034
Author:   ryandesign at macports.org
Date:     2010-07-27 09:17:00 -0700 (Tue, 27 Jul 2010)
Log Message:
-----------
p5-perlmagick: update to 6.59, new maintainer; see #25832

Modified Paths:
--------------
    trunk/dports/perl/p5-perlmagick/Portfile

Added Paths:
-----------
    trunk/dports/perl/p5-perlmagick/files/
    trunk/dports/perl/p5-perlmagick/files/patch-Makefile.PL.diff

Modified: trunk/dports/perl/p5-perlmagick/Portfile
===================================================================
--- trunk/dports/perl/p5-perlmagick/Portfile	2010-07-27 15:10:14 UTC (rev 70033)
+++ trunk/dports/perl/p5-perlmagick/Portfile	2010-07-27 16:17:00 UTC (rev 70034)
@@ -2,19 +2,32 @@
 
 PortSystem          1.0
 PortGroup           perl5 1.0
-perl5.setup         PerlMagick 6.32
-revision            2
-maintainers         nomaintainer
+
+perl5.setup         PerlMagick 6.59
+maintainers         futurelab.ch:astricker
 description         Perl extension for calling ImageMagick's libMagick methods
 long_description    ${description}
 
 platforms           darwin
 
-checksums           md5 a341de8299859630ca82b74ee7173204
+checksums           md5     1e9503c77a89d5e48db7b4c9d5aa1c41 \
+                    sha1    ec57329b5a9e31b0f00fb5cc45312ffe53827ff9 \
+                    rmd160  b30008a8e09e16e81948ecb0c8ebc38079d0bb2a
 
-homepage            http://search.cpan.org/~jcristy/PerlMagick-6.32/
 master_sites        http://search.cpan.org/CPAN/authors/id/J/JC/JCRISTY/
 
 depends_build-append port:bzip2 port:freetype port:jpeg port:libpng port:tiff \
                     port:zlib
 depends_lib-append  port:ImageMagick
+
+patchfiles          patch-Makefile.PL.diff
+
+post-patch {
+    if {[variant_isset universal]} {
+        set archflags ${configure.universal_cflags}
+    } else {
+        set archflags ${configure.cc_archflags}
+    }
+    reinplace "s|@ARCHFLAGS@|${archflags}|g" ${worksrcpath}/Makefile.PL
+    reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/Makefile.PL
+}

Added: trunk/dports/perl/p5-perlmagick/files/patch-Makefile.PL.diff
===================================================================
--- trunk/dports/perl/p5-perlmagick/files/patch-Makefile.PL.diff	                        (rev 0)
+++ trunk/dports/perl/p5-perlmagick/files/patch-Makefile.PL.diff	2010-07-27 16:17:00 UTC (rev 70034)
@@ -0,0 +1,19 @@
+--- Makefile.PL.orig	2010-02-04 08:47:02.000000000 -0600
++++ Makefile.PL	2010-07-27 11:09:45.000000000 -0500
+@@ -138,11 +138,11 @@
+ }
+ 
+ # defaults for LIBS & INC & CCFLAGS params that we later pass to Writemakefile
+-my $INC_magick = '-I../ -I.. -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -I/usr/include/librsvg-2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/freetype2 -I/usr/include/libxml2 -I"' . $Config{'usrinc'} . '/ImageMagick"';
+-my $LIBS_magick = '-L../magick/.libs -lMagickCore -lperl -lm';
+-my $CCFLAGS_magick = "$Config{'ccflags'} -fopenmp -g -O2 -Wall -W -pthread";
+-my $LDFLAGS_magick   = "-L../magick/.libs -lMagickCore $Config{'ldflags'} ";
+-my $LDDLFLAGS_magick = "-L../magick/.libs -lMagickCore $Config{'lddlflags'} ";
++my $INC_magick = '-I at PREFIX@/include/ImageMagick';
++my $LIBS_magick = '-L at PREFIX@/lib -lMagickCore -lperl -lm';
++my $CCFLAGS_magick = "$Config{'ccflags'} -fopenmp -g -O2 -Wall -W -pthread @ARCHFLAGS@";
++my $LDFLAGS_magick   = "-L at PREFIX@/lib -lMagickCore $Config{'ldflags'} @ARCHFLAGS@";
++my $LDDLFLAGS_magick = "-L at PREFIX@/lib -lMagickCore $Config{'lddlflags'} @ARCHFLAGS@";
+ 
+ if (($^O eq 'MSWin32') && ($Config{cc} =~ /gcc/)) {
+   my($Ipaths, $Lpaths) = AutodetectWin32gcc();
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100727/54d5e673/attachment.html>


More information about the macports-changes mailing list