<pre style='margin:0'>
Mojca Miklavec (mojca) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/e9a2456b83a31d2133a43afd841656e269a31ebd">https://github.com/macports/macports-ports/commit/e9a2456b83a31d2133a43afd841656e269a31ebd</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new e9a2456 cpan2port: various improvements
</span>e9a2456 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit e9a2456b83a31d2133a43afd841656e269a31ebd
</span>Author: Mojca Miklavec <mojca@macports.org>
AuthorDate: Wed Feb 28 17:12:28 2018 +0100
<span style='display:block; white-space:pre;color:#404040;'> cpan2port: various improvements
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> * Use full shasum
</span><span style='display:block; white-space:pre;color:#404040;'> * Download to macports-contrib in case any other ports need the same files
</span><span style='display:block; white-space:pre;color:#404040;'> * Properly define $worksrcdir
</span><span style='display:block; white-space:pre;color:#404040;'> * Enable livecheck
</span>---
sysutils/cpan2port/Portfile | 16 +++++++---------
1 file changed, 7 insertions(+), 9 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/cpan2port/Portfile b/sysutils/cpan2port/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 81d68fd..c9ad9ff 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/cpan2port/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/cpan2port/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,10 +4,8 @@ PortSystem 1.0
</span> PortGroup github 1.0
PortGroup perl5 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set git_shasum 4207b22
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup macports macports-contrib 4207b227800b8ce6ba7db02641a1b1a66b3218de
</span> set git_date 20180228
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup macports macports-contrib ${git_shasum}
</span> name cpan2port
version 0.1.1_${git_date}
categories sysutils macports perl
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -35,8 +33,11 @@ depends_run-append port:p${perl5.major}-carp-clan \
</span> port:p${perl5.major}-pod-simple \
port:p${perl5.major}-yaml
<span style='display:block; white-space:pre;background:#e0ffe0;'>+dist_subdir macports-contrib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+worksrcdir ${worksrcdir}/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> configure {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|#! /usr/bin/env perl|#!${prefix}/bin/perl${perl5.major}|g" ${worksrcpath}/${name}/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|#! /usr/bin/env perl|#!${prefix}/bin/perl${perl5.major}|g" ${worksrcpath}/${name}
</span> }
# should be implied by overriding configure:
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -45,10 +46,7 @@ configure.ccache no
</span> build {}
destroot {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 755 ${worksrcpath}/${name}/${name} ${destroot}${prefix}/bin/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/${name}
</span> xinstall -d ${destroot}${prefix}/share/doc/${name}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 ${worksrcpath}/${name}/COPYING ${destroot}${prefix}/share/doc/${name}/COPYING
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 644 ${worksrcpath}/COPYING ${destroot}${prefix}/share/doc/${name}/COPYING
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# TODO: check the latest revision of the file
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.type none
</span></pre><pre style='margin:0'>
</pre>