<!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>[143273] trunk/dports/lang</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/143273">143273</a></dd>
<dt>Author</dt> <dd>devans@macports.org</dd>
<dt>Date</dt> <dd>2015-12-09 11:31:20 -0800 (Wed, 09 Dec 2015)</dd>
</dl>
<h3>Log Message</h3>
<pre>perl5.8 perl5.10 perl5.12 perl5.14: mark obsolete, replaced by perl5.22 (#49940).</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdportslangperl510Portfile">trunk/dports/lang/perl5.10/Portfile</a></li>
<li><a href="#trunkdportslangperl512Portfile">trunk/dports/lang/perl5.12/Portfile</a></li>
<li><a href="#trunkdportslangperl514Portfile">trunk/dports/lang/perl5.14/Portfile</a></li>
<li><a href="#trunkdportslangperl58Portfile">trunk/dports/lang/perl5.8/Portfile</a></li>
</ul>
<h3>Removed Paths</h3>
<ul>
<li>trunk/dports/lang/perl5.10/files/</li>
<li>trunk/dports/lang/perl5.12/files/</li>
<li>trunk/dports/lang/perl5.14/files/</li>
<li>trunk/dports/lang/perl5.8/files/</li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportslangperl510Portfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/lang/perl5.10/Portfile (143272 => 143273)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/perl5.10/Portfile        2015-12-09 19:12:22 UTC (rev 143272)
+++ trunk/dports/lang/perl5.10/Portfile        2015-12-09 19:31:20 UTC (rev 143273)
</span><span class="lines">@@ -4,128 +4,9 @@
</span><span class="cx"> PortSystem 1.0
</span><span class="cx">
</span><span class="cx"> name perl5.10
</span><del>-version 5.10.1
-set branch [join [lrange [split ${version} .] 0 1] .]
-revision 7
</del><ins>+version 5.22.0
</ins><span class="cx"> categories lang
</span><del>-platforms darwin freebsd linux
</del><span class="cx"> license {Artistic-1 GPL}
</span><del>-maintainers nomaintainer
</del><span class="cx">
</span><del>-description Perl 5.10.x - Practical Extraction and Report Language
-long_description Perl is a general-purpose programming language \
- originally developed for text manipulation and now \
- used for a wide range of tasks including system \
- administration, web development, network \
- programming, GUI development, and more.
-homepage http://www.perl.org/
-
-depends_lib-append port:gdbm
-
-master_sites http://www.cpan.org/src/5.0/
-distname perl-${version}
-use_bzip2 yes
-
-checksums rmd160 840b3a5ac3d7f517770ce789676ebd9154d9ee5a \
- sha256 9385f2c8c2ca8b1dc4a7c31903f1f8dc8f2ba867dc2a9e5c93012ed6b564e826
-
-patchfiles patch-Configure.diff
-
-platform darwin {
- patchfiles-append patch-hints_darwin.sh.diff \
- patch-perl.c.diff
-
- if {${os.major} >= 11} {
- # bypass stupid check that assumes fprintf must be in libc.dylib
- patchfiles-append patch-hints_darwin.sh-usenm.diff
- }
-
- # Prevent miniperl build from finding libstdcxx (#36438).
- patchfiles-append patch-Makefile.SH.diff
- post-patch {
- reinplace "s|__PREFIX_LIB__|${prefix}/lib|g" ${worksrcpath}/Makefile.SH
- }
-}
-
-pre-configure {
- reinplace "s|/opt/local|${prefix}|g" ${worksrcpath}/Configure
-}
-
-configure.ccache no
-configure.distcc no
-configure.env LC_ALL=C
-configure.cmd sh Configure
-configure.pre_args
-configure.universal_args-delete \
- --disable-dependency-tracking
-configure.post_args -des \
- -Dprefix='${prefix}' \
- -Dscriptdir='${prefix}/bin' \
- {-Dcppflags="$CPPFLAGS"} \
- {-Dccflags="$CFLAGS"} \
- {-Dldflags="$LDFLAGS"} \
- -Dvendorprefix='${prefix}' \
- -Dusemultiplicity=y \
- -Dusethreads \
- -Duseshrplib \
- {-Dcc="$CC"} \
- {-Dld="$CC"} \
- -Dman1ext=1pm \
- -Dman3ext=3pm \
- -Dman1dir='${prefix}/share/man/man1p' \
- -Dman3dir='${prefix}/share/man/man3p' \
- -Dsitebin='${prefix}/libexec/perl${branch}/sitebin' \
- -Dsiteman1dir='${prefix}/share/perl${branch}/siteman/man1' \
- -Dsiteman3dir='${prefix}/share/perl${branch}/siteman/man3' \
- -Dvendorbin='${prefix}/libexec/perl${branch}' \
- -Dvendorman1dir='${prefix}/share/perl${branch}/man/man1' \
- -Dvendorman3dir='${prefix}/share/perl${branch}/man/man3' \
- -Dpager='/usr/bin/less -sR' \
- -Dperlpath="${prefix}/bin/perl${branch}" \
- -Dstartperl="#!${prefix}/bin/perl${branch}"
-
-# Allow perl to find p5-* ports installed by previous (minor) versions
-set platsuffix [expr {${os.platform} eq "darwin" ? "-2level" : ""}]
-configure.args-append -Dinc_version_list='5.10.0/${os.platform}-thread-multi${platsuffix} 5.10.0'
-
-if {[variant_isset universal]} {
- post-configure {
- system "cd ${worksrcpath} && ed - ${worksrcpath}/config.h < ${filespath}/config.h.ed"
- }
-}
-
-post-build {
- reinplace -E {s/-arch [a-z0-9_]+//g} \
- ${worksrcpath}/lib/Config_heavy.pl
-}
-
-test.run yes
-
-variant dtrace description {Build with DTrace probes} {
- configure.args-append -Dusedtrace
-}
-
-post-destroot {
- # avoid conflicting with other perl versions
- # perl5 creates unversioned symlinks
- delete ${destroot}${prefix}/bin/perl
- foreach binFile [glob -directory "${destroot}${prefix}/bin" *] {
- if {$binFile ne "${destroot}${prefix}/bin/perl${version}"} {
- move ${binFile} ${binFile}-${branch}
- }
- }
- move ${destroot}${prefix}/bin/perl${version} ${destroot}${prefix}/bin/${name}
- ln -s ${name} ${destroot}${prefix}/bin/perl${version}
- foreach man1File [glob -directory "${destroot}${prefix}/share/man/man1p" *] {
- regexp (.*)(\.1.*) ${man1File} -> program suffix
- move ${man1File} ${program}-${branch}${suffix}
- }
- foreach man3File [glob -directory "${destroot}${prefix}/share/man/man3p" *] {
- regexp (.*)(\.3.*) ${man3File} -> program suffix
- move ${man3File} ${program}-${branch}${suffix}
- }
-}
-
-livecheck.type regex
-livecheck.url http://www.cpan.org/src
-livecheck.regex {perl-(5\.10\.\d)\.}
</del><ins>+replaced_by perl5.22
+PortGroup obsolete 1.0
</ins></span></pre></div>
<a id="trunkdportslangperl512Portfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/lang/perl5.12/Portfile (143272 => 143273)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/perl5.12/Portfile        2015-12-09 19:12:22 UTC (rev 143272)
+++ trunk/dports/lang/perl5.12/Portfile        2015-12-09 19:31:20 UTC (rev 143273)
</span><span class="lines">@@ -4,122 +4,9 @@
</span><span class="cx"> PortSystem 1.0
</span><span class="cx">
</span><span class="cx"> name perl5.12
</span><del>-version 5.12.5
-set branch [join [lrange [split ${version} .] 0 1] .]
</del><ins>+version 5.22.0
</ins><span class="cx"> categories lang
</span><del>-platforms darwin freebsd linux
</del><span class="cx"> license {Artistic-1 GPL}
</span><del>-maintainers nomaintainer
</del><span class="cx">
</span><del>-description Perl 5.12.x - Practical Extraction and Report Language
-long_description Perl is a general-purpose programming language \
- originally developed for text manipulation and now \
- used for a wide range of tasks including system \
- administration, web development, network \
- programming, GUI development, and more.
-homepage http://www.perl.org/
-
-depends_lib-append port:gdbm
-
-master_sites http://www.cpan.org/src/5.0/
-distname perl-${version}
-use_bzip2 yes
-
-checksums rmd160 5a88d99650edc6697418ac81d4bd392250cf0e0e \
- sha256 10749417fd3010aae320a34181ad4cd6a4855c1fc63403b87fa4d630b18e966c
-
-patchfiles patch-Configure.diff \
- patch-handy.h.stdbool.diff
-
-platform darwin {
- patchfiles-append patch-hints_darwin.sh.diff
-
- # Prevent miniperl build from finding libstdcxx (#36438).
- patchfiles-append patch-Makefile.SH.diff
- post-patch {
- reinplace "s|__PREFIX_LIB__|${prefix}/lib|g" ${worksrcpath}/Makefile.SH
- }
-}
-
-pre-configure {
- reinplace "s|/opt/local|${prefix}|g" ${worksrcpath}/Configure
-}
-
-configure.ccache no
-configure.distcc no
-configure.env LC_ALL=C
-configure.cmd sh Configure
-configure.pre_args
-configure.universal_args-delete \
- --disable-dependency-tracking
-configure.post_args -des \
- -Dprefix='${prefix}' \
- -Dscriptdir='${prefix}/bin' \
- {-Dcppflags="$CPPFLAGS"} \
- {-Dccflags="$CFLAGS"} \
- {-Dldflags="$LDFLAGS"} \
- -Dvendorprefix='${prefix}' \
- -Dusemultiplicity=y \
- -Dusethreads \
- -Duseshrplib \
- {-Dcc="$CC"} \
- {-Dld="$CC"} \
- -Dman1ext=1pm \
- -Dman3ext=3pm \
- -Dman1dir='${prefix}/share/man/man1p' \
- -Dman3dir='${prefix}/share/man/man3p' \
- -Dsitebin='${prefix}/libexec/perl${branch}/sitebin' \
- -Dsiteman1dir='${prefix}/share/perl${branch}/siteman/man1' \
- -Dsiteman3dir='${prefix}/share/perl${branch}/siteman/man3' \
- -Dvendorbin='${prefix}/libexec/perl${branch}' \
- -Dvendorman1dir='${prefix}/share/perl${branch}/man/man1' \
- -Dvendorman3dir='${prefix}/share/perl${branch}/man/man3' \
- -Dpager='/usr/bin/less -sR' \
- -Dperlpath="${prefix}/bin/perl${branch}" \
- -Dstartperl="#!${prefix}/bin/perl${branch}"
-
-# Allow perl to find p5-* ports installed by previous (minor) versions
-set platsuffix [expr {${os.platform} eq "darwin" ? "-2level" : ""}]
-configure.args-append -Dinc_version_list='5.12.4/${os.platform}-thread-multi${platsuffix} 5.12.4 5.12.3/${os.platform}-thread-multi${platsuffix} 5.12.3 5.12.2/${os.platform}-thread-multi${platsuffix} 5.12.2 5.12.1/${os.platform}-thread-multi${platsuffix} 5.12.1 5.12.0/${os.platform}-thread-multi${platsuffix} 5.12.0'
-
-if {[variant_isset universal]} {
- post-configure {
- system "cd ${worksrcpath} && ed - ${worksrcpath}/config.h < ${filespath}/config.h.ed"
- }
-}
-
-post-build {
- reinplace -E {s/-arch [a-z0-9_]+//g} \
- ${worksrcpath}/lib/Config_heavy.pl
-}
-
-test.run yes
-
-variant dtrace description {Build with DTrace probes} {
- configure.args-append -Dusedtrace
-}
-
-post-destroot {
- # avoid conflicting with other perl versions
- # perl5 creates unversioned symlinks
- delete ${destroot}${prefix}/bin/perl
- foreach binFile [glob -directory "${destroot}${prefix}/bin" *] {
- if {$binFile ne "${destroot}${prefix}/bin/perl${version}"} {
- move ${binFile} ${binFile}-${branch}
- }
- }
- move ${destroot}${prefix}/bin/perl${version} ${destroot}${prefix}/bin/${name}
- ln -s ${name} ${destroot}${prefix}/bin/perl${version}
- foreach man1File [glob -directory "${destroot}${prefix}/share/man/man1p" *] {
- regexp (.*)(\.1.*) ${man1File} -> program suffix
- move ${man1File} ${program}-${branch}${suffix}
- }
- foreach man3File [glob -directory "${destroot}${prefix}/share/man/man3p" *] {
- regexp (.*)(\.3.*) ${man3File} -> program suffix
- move ${man3File} ${program}-${branch}${suffix}
- }
-}
-
-livecheck.type regex
-livecheck.url http://www.cpan.org/src
-livecheck.regex {perl-(5\.12\.\d)\.}
</del><ins>+replaced_by perl5.22
+PortGroup obsolete 1.0
</ins></span></pre></div>
<a id="trunkdportslangperl514Portfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/lang/perl5.14/Portfile (143272 => 143273)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/perl5.14/Portfile        2015-12-09 19:12:22 UTC (rev 143272)
+++ trunk/dports/lang/perl5.14/Portfile        2015-12-09 19:31:20 UTC (rev 143273)
</span><span class="lines">@@ -4,123 +4,9 @@
</span><span class="cx"> PortSystem 1.0
</span><span class="cx">
</span><span class="cx"> name perl5.14
</span><del>-version 5.14.4
-set branch [join [lrange [split ${version} .] 0 1] .]
</del><ins>+version 5.22.0
</ins><span class="cx"> categories lang
</span><del>-platforms darwin freebsd linux
</del><span class="cx"> license {Artistic-1 GPL}
</span><del>-maintainers nomaintainer
</del><span class="cx">
</span><del>-description Perl 5.14.x - Practical Extraction and Report Language
-long_description Perl is a general-purpose programming language \
- originally developed for text manipulation and now \
- used for a wide range of tasks including system \
- administration, web development, network \
- programming, GUI development, and more.
-homepage http://www.perl.org/
-
-depends_lib-append port:gdbm
-
-master_sites http://www.cpan.org/src/5.0/
-distname perl-${version}
-use_bzip2 yes
-
-checksums rmd160 b06a822864f2c8e4e77a1ebef74d37c00cba54d6 \
- sha256 eece8c2b0d491bf6f746bd1f4f1bb7ce26f6b98e91c54690c617d7af38964745
-
-patchfiles patch-Configure.diff \
- patch-handy.h.stdbool.diff
-
-platform darwin {
- patchfiles-append patch-hints_darwin.sh.diff
-
- # Prevent miniperl build from finding libstdcxx (#36438).
- patchfiles-append patch-Makefile.SH.diff
- post-patch {
- reinplace "s|__PREFIX_LIB__|${prefix}/lib|g" ${worksrcpath}/Makefile.SH
- }
-}
-
-pre-configure {
- reinplace "s|/opt/local|${prefix}|g" ${worksrcpath}/Configure
-}
-
-configure.ccache no
-configure.distcc no
-configure.env LC_ALL=C
-configure.cmd sh Configure
-configure.pre_args
-configure.universal_args-delete \
- --disable-dependency-tracking
-configure.post_args -des \
- -Dprefix='${prefix}' \
- -Dscriptdir='${prefix}/bin' \
- {-Dcppflags="$CPPFLAGS"} \
- {-Dccflags="$CFLAGS"} \
- {-Dldflags="$LDFLAGS"} \
- -Dvendorprefix='${prefix}' \
- -Dusemultiplicity=y \
- -Dusethreads \
- -Duseshrplib \
- {-Dcc="$CC"} \
- {-Dld="$CC"} \
- -Dman1ext=1pm \
- -Dman3ext=3pm \
- -Dman1dir='${prefix}/share/man/man1p' \
- -Dman3dir='${prefix}/share/man/man3p' \
- -Dsitebin='${prefix}/libexec/perl${branch}/sitebin' \
- -Dsiteman1dir='${prefix}/share/perl${branch}/siteman/man1' \
- -Dsiteman3dir='${prefix}/share/perl${branch}/siteman/man3' \
- -Dvendorbin='${prefix}/libexec/perl${branch}' \
- -Dvendorman1dir='${prefix}/share/perl${branch}/man/man1' \
- -Dvendorman3dir='${prefix}/share/perl${branch}/man/man3' \
- -Dpager='/usr/bin/less -sR' \
- -Dperlpath="${prefix}/bin/perl${branch}" \
- -Dstartperl="#!${prefix}/bin/perl${branch}"
-
-# Allow perl to find p5-* ports installed by previous (minor) versions
-set platsuffix [expr {${os.platform} eq "darwin" ? "-2level" : ""}]
-configure.args-append -Dinc_version_list='5.14.2/${os.platform}-thread-multi${platsuffix} 5.14.2 5.14.1/${os.platform}-thread-multi${platsuffix} 5.14.1 5.14.0/${os.platform}-thread-multi${platsuffix} 5.14.0'
-
-
-if {[variant_isset universal]} {
- post-configure {
- system "cd ${worksrcpath} && ed - ${worksrcpath}/config.h < ${filespath}/config.h.ed"
- }
-}
-
-post-build {
- reinplace -E {s/-arch [a-z0-9_]+//g} \
- ${worksrcpath}/lib/Config_heavy.pl
-}
-
-test.run yes
-
-variant dtrace description {Build with DTrace probes} {
- configure.args-append -Dusedtrace
-}
-
-post-destroot {
- # avoid conflicting with other perl versions
- # perl5 creates unversioned symlinks
- delete ${destroot}${prefix}/bin/perl
- foreach binFile [glob -directory "${destroot}${prefix}/bin" *] {
- if {$binFile ne "${destroot}${prefix}/bin/perl${version}"} {
- move ${binFile} ${binFile}-${branch}
- }
- }
- move ${destroot}${prefix}/bin/perl${version} ${destroot}${prefix}/bin/${name}
- ln -s ${name} ${destroot}${prefix}/bin/perl${version}
- foreach man1File [glob -directory "${destroot}${prefix}/share/man/man1p" *] {
- regexp (.*)(\.1.*) ${man1File} -> program suffix
- move ${man1File} ${program}-${branch}${suffix}
- }
- foreach man3File [glob -directory "${destroot}${prefix}/share/man/man3p" *] {
- regexp (.*)(\.3.*) ${man3File} -> program suffix
- move ${man3File} ${program}-${branch}${suffix}
- }
-}
-
-livecheck.type regex
-livecheck.url http://www.cpan.org/src
-livecheck.regex {perl-(5\.14\.\d)\.}
</del><ins>+replaced_by perl5.22
+PortGroup obsolete 1.0
</ins></span></pre></div>
<a id="trunkdportslangperl58Portfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/lang/perl5.8/Portfile (143272 => 143273)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/perl5.8/Portfile        2015-12-09 19:12:22 UTC (rev 143272)
+++ trunk/dports/lang/perl5.8/Portfile        2015-12-09 19:31:20 UTC (rev 143273)
</span><span class="lines">@@ -4,140 +4,9 @@
</span><span class="cx"> PortSystem 1.0
</span><span class="cx">
</span><span class="cx"> name perl5.8
</span><del>-version 5.8.9
-set branch [join [lrange [split ${version} .] 0 1] .]
-revision 9
</del><ins>+version 5.22.0
</ins><span class="cx"> categories lang
</span><del>-platforms darwin freebsd linux
</del><span class="cx"> license {Artistic-1 GPL}
</span><del>-maintainers nomaintainer
</del><span class="cx">
</span><del>-description Perl 5.8.x - Practical Extraction and Report Language
-long_description Perl is a general-purpose programming language \
- originally developed for text manipulation and now \
- used for a wide range of tasks including system \
- administration, web development, network \
- programming, GUI development, and more.
-homepage http://www.perl.org/
-
-master_sites http://www.cpan.org/src/5.0/
-distname perl-${version}
-use_bzip2 yes
-
-checksums rmd160 680004238d626ec985075e1b4519b7f0b34f57e5 \
- sha256 1097fbcd48ceccb2bc735d119c9db399a02a8ab9f7dc53e29e47e6a8d0d72e79
-
-patchfiles patch-Configure.diff \
- patch-perl.c.diff
-
-platform darwin {
- patchfiles-append patch-hints_darwin.sh.diff
-
- # Prevent miniperl build from finding MacPorts' libstdcxx (#36438).
- patchfiles-append patch-Makefile.SH.diff
- post-patch {
- reinplace "s|__PREFIX_LIB__|${prefix}/lib|g" ${worksrcpath}/Makefile.SH
- }
-}
-
-post-patch {
- reinplace "s|/opt/local|${prefix}|g" ${worksrcpath}/Configure
-}
-
-configure.ccache no
-configure.distcc no
-configure.env LC_ALL=C
-configure.cmd sh Configure
-configure.pre_args
-configure.universal_args-delete \
- --disable-dependency-tracking
-configure.post_args -des \
- -Dprefix='${prefix}' \
- -Dscriptdir='${prefix}/bin' \
- {-Dcppflags="$CPPFLAGS"} \
- {-Dccflags="$CFLAGS"} \
- {-Dldflags="$LDFLAGS"} \
- -Dvendorprefix='${prefix}' \
- -Dusemultiplicity=y \
- -Dusethreads \
- -Duseshrplib \
- {-Dcc="$CC"} \
- {-Dld="$CC"} \
- -Dman1ext=1pm \
- -Dman3ext=3pm \
- -Dman1dir='${prefix}/share/man/man1p' \
- -Dman3dir='${prefix}/share/man/man3p' \
- -Dsitebin='${prefix}/libexec/perl${branch}/sitebin' \
- -Dsiteman1dir='${prefix}/share/perl${branch}/siteman/man1' \
- -Dsiteman3dir='${prefix}/share/perl${branch}/siteman/man3' \
- -Dvendorbin='${prefix}/libexec/perl${branch}' \
- -Dvendorman1dir='${prefix}/share/perl${branch}/man/man1' \
- -Dvendorman3dir='${prefix}/share/perl${branch}/man/man3' \
- -Dpager='/usr/bin/less -sR' \
- -Dperlpath="${prefix}/bin/perl${branch}" \
- -Dstartperl="#!${prefix}/bin/perl${branch}"
-
-# Allow perl to find p5-* ports installed by previous (minor) versions
-configure.args-append -Dinc_version_list='5.8.8 5.8.8/${os.platform}-thread-multi-2level'
-
-set exclude_libs {bind gdbm db}
-
-post-patch {
- foreach lib ${exclude_libs} {
- configure.args-append -U i_${lib}
- reinplace "s|\\(libswanted=.*\\)${lib} *\\(.*\\)|\\1\\2|" ${worksrcpath}/Configure
- }
-}
-
-if {[variant_isset universal]} {
- post-configure {
- system "cd ${worksrcpath} && ed - ${worksrcpath}/config.h < ${filespath}/config.h.ed"
- }
-}
-
-post-build {
- reinplace -E {s/-arch [a-z0-9_]+//g} \
- ${worksrcpath}/lib/Config_heavy.pl
-}
-
-test.run yes
-
-post-destroot {
- # avoid conflicting with other perl versions
- # perl5 creates unversioned symlinks
- delete ${destroot}${prefix}/bin/perl
- foreach binFile [glob -directory "${destroot}${prefix}/bin" *] {
- if {$binFile ne "${destroot}${prefix}/bin/perl${version}"} {
- move ${binFile} ${binFile}-${branch}
- }
- }
- move ${destroot}${prefix}/bin/perl${version} ${destroot}${prefix}/bin/${name}
- ln -s ${name} ${destroot}${prefix}/bin/perl${version}
- foreach man1File [glob -directory "${destroot}${prefix}/share/man/man1p" *] {
- regexp (.*)(\.1.*) ${man1File} -> program suffix
- move ${man1File} ${program}-${branch}${suffix}
- }
- foreach man3File [glob -directory "${destroot}${prefix}/share/man/man3p" *] {
- regexp (.*)(\.3.*) ${man3File} -> program suffix
- move ${man3File} ${program}-${branch}${suffix}
- }
-}
-
-variant gdbm description {Build with gdbm support} {
- depends_lib-append port:gdbm
- set exclude_libs [ldelete ${exclude_libs} gdbm]
-}
-
-variant db description {Build with Berkeley Data Base support} {
- depends_lib-append port:db47
- set exclude_libs [ldelete ${exclude_libs} db]
-
- post-patch {
- reinplace "s|${prefix}/include|${prefix}/include ${prefix}/include/db47|g" ${worksrcpath}/Configure
- reinplace "s|${prefix}/lib|${prefix}/lib ${prefix}/lib/db47|g" ${worksrcpath}/Configure
- }
-}
-
-livecheck.type regex
-livecheck.url http://www.cpan.org/src
-livecheck.regex {perl-(5\.8\.\d)\.}
</del><ins>+replaced_by perl5.22
+PortGroup obsolete 1.0
</ins></span></pre>
</div>
</div>
</body>
</html>