[105130] trunk/dports/perl/p5-pdl

macsforever2000 at macports.org macsforever2000 at macports.org
Thu Apr 11 09:35:23 PDT 2013


Revision: 105130
          https://trac.macports.org/changeset/105130
Author:   macsforever2000 at macports.org
Date:     2013-04-11 09:35:23 -0700 (Thu, 11 Apr 2013)
Log Message:
-----------
p5-pdl: Update to version 2.4.11. Use proj47 port to fix build. Add license. Add parallel build. Fix indent. Remove unused patch. (#35292)

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

Removed Paths:
-------------
    trunk/dports/perl/p5-pdl/files/

Modified: trunk/dports/perl/p5-pdl/Portfile
===================================================================
--- trunk/dports/perl/p5-pdl/Portfile	2013-04-11 15:38:44 UTC (rev 105129)
+++ trunk/dports/perl/p5-pdl/Portfile	2013-04-11 16:35:23 UTC (rev 105130)
@@ -5,9 +5,9 @@
 PortGroup           perl5 1.0
 
 perl5.branches      5.8 5.10 5.12 5.14 5.16
-perl5.setup         PDL 2.4.6
-revision            5
+perl5.setup         PDL 2.4.11
 maintainers         saao.ac.za:tim
+license             Artistic GPL-2
 description         Perl Data Language - scientific computing capability for perl
 long_description    The perlDL project aims to turn perl into an efficient numerical \
                     language for scientific computing. The PDL module gives standard perl \
@@ -19,47 +19,41 @@
 
 homepage            http://pdl.perl.org/
 
-checksums           md5     a4aa5f3fd7363824e8f555d0245c4ac7 \
-                    sha1    f5edb7d10fdf603a42cb695a8320414b189ea3e5 \
-                    rmd160  e343a8af32ce3cd67af046f839618c596f02d2a2
+checksums           rmd160  7c877c7477930a0a874190670aedc6375746c63d \
+                    sha256  c777ed2519d73ebde0d870e94931a2d2c57865abcee27dfec53f4412a2cac662
 
 if {${perl5.major} != ""} {
-depends_lib-append  port:p${perl5.major}-text-balanced \
-                    port:p${perl5.major}-inline \
-                    port:p${perl5.major}-extutils-f77 \
-                    port:p${perl5.major}-gd \
-                    port:p${perl5.major}-astro-fits-header \
-                    port:netpbm \
-                    port:hdf5-18 \
-                    port:jpeg \
-                    port:gsl \
-                    port:fftw-3 \
-                    port:proj \
-                    port:pgplot \
-                    port:p${perl5.major}-term-readline-gnu \
-                    port:plplot
+    depends_lib-append  port:p${perl5.major}-text-balanced \
+                        port:p${perl5.major}-inline \
+                        port:p${perl5.major}-extutils-f77 \
+                        port:p${perl5.major}-gd \
+                        port:p${perl5.major}-astro-fits-header \
+                        port:netpbm \
+                        port:hdf5-18 \
+                        port:jpeg \
+                        port:gsl \
+                        port:fftw-3 \
+                        # proj 4.7 is needed for now. https://trac.macports.org/ticket/35292
+                        port:proj47 \
+                        port:pgplot \
+                        port:p${perl5.major}-term-readline-gnu \
+                        port:plplot
 
-# pgplot is not universal
-universal_variant   no
+    # pgplot is not universal
+    universal_variant   no
 
-# https://trac.macports.org/ticket/32029
-use_parallel_build  no
-
-patch.pre_args      -p1
-patchfiles          patch-plplot_build
-
-post-patch {
-    reinplace "s|/usr/local|${prefix}|g" \
-        ${worksrcpath}/Basic/Core/pdlsimple.h.PL \
-        ${worksrcpath}/Doc/Doc/Config.pm.PL \
-        ${worksrcpath}/Graphics/PLplot/Makefile.PL \
-        ${worksrcpath}/Graphics/TriD/Makefile.PL \
-        ${worksrcpath}/IO/Browser/Makefile.PL \
-        ${worksrcpath}/IO/GD/Makefile.PL \
-        ${worksrcpath}/IO/HDF/Makefile.PL \
-        ${worksrcpath}/Lib/FFTW/Makefile.PL \
-        ${worksrcpath}/Lib/GIS/Proj/Makefile.PL \
-        ${worksrcpath}/Lib/Transform/Proj4/Makefile.PL \
-        ${worksrcpath}/t/callext.t
+    post-patch {
+        reinplace "s|/usr/local|${prefix}|g" \
+            ${worksrcpath}/Basic/Core/pdlsimple.h.PL \
+            ${worksrcpath}/Doc/Doc/Config.pm.PL \
+            ${worksrcpath}/Graphics/PLplot/Makefile.PL \
+            ${worksrcpath}/Graphics/TriD/Makefile.PL \
+            ${worksrcpath}/IO/Browser/Makefile.PL \
+            ${worksrcpath}/IO/GD/Makefile.PL \
+            ${worksrcpath}/IO/HDF/Makefile.PL \
+            ${worksrcpath}/Lib/FFTW/Makefile.PL \
+            ${worksrcpath}/Lib/GIS/Proj/Makefile.PL \
+            ${worksrcpath}/Lib/Transform/Proj4/Makefile.PL \
+            ${worksrcpath}/t/callext.t
+    }
 }
-}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130411/6917eab5/attachment.html>


More information about the macports-changes mailing list