[123477] trunk/dports/perl/p5-pdl/Portfile

mojca at macports.org mojca at macports.org
Sat Aug 9 07:07:32 PDT 2014


Revision: 123477
          https://trac.macports.org/changeset/123477
Author:   mojca at macports.org
Date:     2014-08-09 07:07:32 -0700 (Sat, 09 Aug 2014)
Log Message:
-----------
p5-pdf: whitespace

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

Modified: trunk/dports/perl/p5-pdl/Portfile
===================================================================
--- trunk/dports/perl/p5-pdl/Portfile	2014-08-09 14:02:18 UTC (rev 123476)
+++ trunk/dports/perl/p5-pdl/Portfile	2014-08-09 14:07:32 UTC (rev 123477)
@@ -25,107 +25,107 @@
                     sha256  609f6661061e444f2b5de845b2ab927adb9007b6511cf2f08aa0d6df0c62500c
 
 if {${perl5.major} != ""} {
-    depends_lib-append \
-                        port:fftw-3 \
-                        port:freeglut \
-                        port:gsl \
-                        port:hdf5 \
-                        port:jpeg \
-                        port:netpbm \
-                        port:p${perl5.major}-astro-fits-header \
-                        port:p${perl5.major}-convert-uu \
-                        port:p${perl5.major}-extutils-f77 \
-                        port:p${perl5.major}-file-map \
-                        port:p${perl5.major}-filter-simple \
-                        port:p${perl5.major}-inline \
-                        port:p${perl5.major}-module-compile \
-                        port:p${perl5.major}-opengl \
-                        port:p${perl5.major}-pgplot \
-                        port:p${perl5.major}-term-readline-gnu \
-                        port:p${perl5.major}-test-warn \
-                        port:pgplot \
-                        port:plplot \
-                        port:slatec \
-                        port:xorg-libXi \
-                        port:xorg-libXmu
+depends_lib-append \
+                    port:fftw-3 \
+                    port:freeglut \
+                    port:gsl \
+                    port:hdf5 \
+                    port:jpeg \
+                    port:netpbm \
+                    port:p${perl5.major}-astro-fits-header \
+                    port:p${perl5.major}-convert-uu \
+                    port:p${perl5.major}-extutils-f77 \
+                    port:p${perl5.major}-file-map \
+                    port:p${perl5.major}-filter-simple \
+                    port:p${perl5.major}-inline \
+                    port:p${perl5.major}-module-compile \
+                    port:p${perl5.major}-opengl \
+                    port:p${perl5.major}-pgplot \
+                    port:p${perl5.major}-term-readline-gnu \
+                    port:p${perl5.major}-test-warn \
+                    port:pgplot \
+                    port:plplot \
+                    port:slatec \
+                    port:xorg-libXi \
+                    port:xorg-libXmu
 
-                        # In core:
-                        # port:p${perl5.major}-data-dumper \
-                        # port:p${perl5.major}-extutils-makemaker \
-                        # port:p${perl5.major}-file-temp \
-                        # port:p${perl5.major}-filter-util-call \
-                        # port:p${perl5.major}-pod-select \
-                        # port:p${perl5.major}-text-balanced \
-                        
-                        # requires ExtUtils::MakeMaker version 6.56 but perl 5.8.9 core is only 6.48
-                        # p5-extutils-makemaker is version 6.64
+                    # In core:
+                    # port:p${perl5.major}-data-dumper \
+                    # port:p${perl5.major}-extutils-makemaker \
+                    # port:p${perl5.major}-file-temp \
+                    # port:p${perl5.major}-filter-util-call \
+                    # port:p${perl5.major}-pod-select \
+                    # port:p${perl5.major}-text-balanced \
+                    
+                    # requires ExtUtils::MakeMaker version 6.56 but perl 5.8.9 core is only 6.48
+                    # p5-extutils-makemaker is version 6.64
 
-                        if {[vercmp ${perl5.major} 5.10] < 0} {
-                            depends_lib-append  port:p${perl5.major}-extutils-makemaker
-                        }
+                    # Deprecated from core in 5.16 but still there in
+                    # 5.18. Will need macports packages for these at some
+                    # point:
+                    # port:p${perl5.major}-filter-simple \
+                    # port:p${perl5.major}-pod-parser \
 
-                        # Deprecated from core in 5.16 but still there in
-                        # 5.18. Will need macports packages for these at some
-                        # point:
-                        # port:p${perl5.major}-filter-simple \
-                        # port:p${perl5.major}-pod-parser \
+                    # Needed for pdl2, but no MacPort package available
+                    # and the dependency chain is very long
+                    # port:p${perl5.major}-devel-repl \
 
-                        # Needed for pdl2, but no MacPort package available
-                        # and the dependency chain is very long
-                        # port:p${perl5.major}-devel-repl \
+if {[vercmp ${perl5.major} 5.10] < 0} {
+    depends_lib-append \
+                    port:p${perl5.major}-extutils-makemaker
+}
 
-    # Prereqs in Makefile.PL:
-    # 'Astro::FITS::Header' => 0,
-    # 'Convert::UU'         => 0,
-    # 'Data::Dumper'        => 2.121,       # core 2.121 in 5.6.2
-    # 'ExtUtils::MakeMaker' => 6.56,        # core 6.48 in 5.8.9
-    # 'File::Map'           => 0.47,
-    # 'File::Spec'          => 0.6,         # core 0.6 in 5.00405
-    # 'File::Temp'          => 0,           # core in 5.6.1
-    # 'Filter::Util::Call'  => 0,           # core in 5.7.4
-    # 'Filter::Simple'      => 0.88,        # core, but only 0.84
-    # 'Inline'              => 0.43,
-    # 'Module::Compile'     => 0.23,
-    # 'Pod::Parser'         => 0,           # core in 5.6.0
-    # 'Pod::Select'         => 0,           # core in 5.6.0
-    # 'Storable'            => 1.03,        # core 2.04 in 5.8.0
-    # 'Text::Balanced'      => 1.89,        # core 1.89 in 5.7.3
-    # 'Test::Warn'          => 0,
+# Prereqs in Makefile.PL:
+# 'Astro::FITS::Header' => 0,
+# 'Convert::UU'         => 0,
+# 'Data::Dumper'        => 2.121,       # core 2.121 in 5.6.2
+# 'ExtUtils::MakeMaker' => 6.56,        # core 6.48 in 5.8.9
+# 'File::Map'           => 0.47,
+# 'File::Spec'          => 0.6,         # core 0.6 in 5.00405
+# 'File::Temp'          => 0,           # core in 5.6.1
+# 'Filter::Util::Call'  => 0,           # core in 5.7.4
+# 'Filter::Simple'      => 0.88,        # core, but only 0.84
+# 'Inline'              => 0.43,
+# 'Module::Compile'     => 0.23,
+# 'Pod::Parser'         => 0,           # core in 5.6.0
+# 'Pod::Select'         => 0,           # core in 5.6.0
+# 'Storable'            => 1.03,        # core 2.04 in 5.8.0
+# 'Text::Balanced'      => 1.89,        # core 1.89 in 5.7.3
+# 'Test::Warn'          => 0,
 
+# pgplot is not universal
+universal_variant   no
 
-    # pgplot is not universal
-    universal_variant   no
+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/FFT/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/FFT/Makefile.PL \
-            ${worksrcpath}/Lib/GIS/Proj/Makefile.PL \
-            ${worksrcpath}/Lib/Transform/Proj4/Makefile.PL \
-            ${worksrcpath}/t/callext.t
-    }
+post-build {
+    # Create the pdldoc.db file for the help system
+    exec ${perl5.bin} -I ${worksrcpath}/blib/arch \
+        -I ${worksrcpath}/blib/lib \
+        ${worksrcpath}/Doc/scantree.pl ${worksrcpath}/blib/lib \
+        ${worksrcpath}/pdldoc.db \
+        ${worksrcpath}/blib/lib/PDL/Index.pod \
+        >/dev/null 2>/dev/null
 
-    post-build {
-        # Create the pdldoc.db file for the help system
-        exec ${perl5.bin} -I ${worksrcpath}/blib/arch \
-            -I ${worksrcpath}/blib/lib \
-            ${worksrcpath}/Doc/scantree.pl ${worksrcpath}/blib/lib \
-            ${worksrcpath}/pdldoc.db \
-            ${worksrcpath}/blib/lib/PDL/Index.pod \
-            >/dev/null 2>/dev/null
-
-        # Rewrite the paths in the pdldoc.db file. scantree will have the
-        # ${worksrcpath}/blib/lib paths, we need ${perl5.archlib}.
-        exec ${perl5.bin} ${filespath}/fix-pdldocdb.pl \
-            ${worksrcpath}/pdldoc.db \
-            ${worksrcpath}/blib/lib/PDL/pdldoc.db \
-            "${worksrcpath}/blib/lib" \
-            "${perl5.archlib}"
-    }
+    # Rewrite the paths in the pdldoc.db file. scantree will have the
+    # ${worksrcpath}/blib/lib paths, we need ${perl5.archlib}.
+    exec ${perl5.bin} ${filespath}/fix-pdldocdb.pl \
+        ${worksrcpath}/pdldoc.db \
+        ${worksrcpath}/blib/lib/PDL/pdldoc.db \
+        "${worksrcpath}/blib/lib" \
+        "${perl5.archlib}"
 }
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140809/63d79b09/attachment.html>


More information about the macports-changes mailing list