<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[123477] trunk/dports/perl/p5-pdl/Portfile</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="https://trac.macports.org/changeset/123477">123477</a></dd>
<dt>Author</dt> <dd>mojca@macports.org</dd>
<dt>Date</dt> <dd>2014-08-09 07:07:32 -0700 (Sat, 09 Aug 2014)</dd>
</dl>
<h3>Log Message</h3>
<pre>p5-pdf: whitespace</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdportsperlp5pdlPortfile">trunk/dports/perl/p5-pdl/Portfile</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportsperlp5pdlPortfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/perl/p5-pdl/Portfile (123476 => 123477)</h4>
<pre class="diff"><span>
<span class="info">--- 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)
</span><span class="lines">@@ -25,107 +25,107 @@
</span><span class="cx"> sha256 609f6661061e444f2b5de845b2ab927adb9007b6511cf2f08aa0d6df0c62500c
</span><span class="cx">
</span><span class="cx"> if {${perl5.major} != ""} {
</span><del>- 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
</del><ins>+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
</ins><span class="cx">
</span><del>- # 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
</del><ins>+ # 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
</ins><span class="cx">
</span><del>- if {[vercmp ${perl5.major} 5.10] < 0} {
- depends_lib-append port:p${perl5.major}-extutils-makemaker
- }
</del><ins>+ # 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 \
</ins><span class="cx">
</span><del>- # 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 \
</del><ins>+ # Needed for pdl2, but no MacPort package available
+ # and the dependency chain is very long
+ # port:p${perl5.major}-devel-repl \
</ins><span class="cx">
</span><del>- # Needed for pdl2, but no MacPort package available
- # and the dependency chain is very long
- # port:p${perl5.major}-devel-repl \
</del><ins>+if {[vercmp ${perl5.major} 5.10] < 0} {
+ depends_lib-append \
+ port:p${perl5.major}-extutils-makemaker
+}
</ins><span class="cx">
</span><del>- # 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,
</del><ins>+# 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,
</ins><span class="cx">
</span><ins>+# pgplot is not universal
+universal_variant no
</ins><span class="cx">
</span><del>- # pgplot is not universal
- universal_variant no
</del><ins>+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
+}
</ins><span class="cx">
</span><del>- 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
- }
</del><ins>+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
</ins><span class="cx">
</span><del>- 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}"
- }
</del><ins>+ # 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}"
</ins><span class="cx"> }
</span><ins>+}
</ins></span></pre>
</div>
</div>
</body>
</html>