[140732] users/mojca/ports/perl

Ryan Schmidt ryandesign at macports.org
Thu Oct 1 17:38:59 PDT 2015


> On Oct 1, 2015, at 8:15 AM, mojca at macports.org wrote:
> 
> Revision
> 140732
> Author
> mojca at macports.org
> Date
> 2015-10-01 06:15:38 -0700 (Thu, 01 Oct 2015)
> Log Message
> 
> mojca/p5-app-gh: a port for testing
> Added Paths
> 
> 	• users/mojca/ports/perl/p5-app-gh/
> 	• users/mojca/ports/perl/p5-app-gh/Portfile
> Diff
> 
> Added: users/mojca/ports/perl/p5-app-gh/Portfile (0 => 140732)
> 
> --- users/mojca/ports/perl/p5-app-gh/Portfile	                        (rev 0)
> +++ users/mojca/ports/perl/p5-app-gh/Portfile	2015-10-01 13:15:38 UTC (rev 140732)
> 
> @@ -0,0 +1,30 @@
> 
> +# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
> +# $Id$
> +
> +PortSystem          1.0
> +PortGroup           perl5 1.0
> +
> +perl5.setup         App-gh 0.57 ../by-authors/id/C/CO/CORNELIUS
> +platforms           darwin
> +maintainers         nomaintainer
> +supported_archs     noarch
> +
> +description         An apt-like Github utility
> +
> +long_description    ${description}
> +
> +checksums           sha256 2d329deb03f70508af6a22216912b91c9292ece4e0eec653495d3a0a8a83ca52 \
> +                    rmd160 4c7df2d0f13e9f07b3db25e46150fd0f075b442f
> +
> +depends_lib-append  port:p5-try-tiny \
> +                    port:p5-uri \
> +                    port:p5-scope-guard \
> +                    port:p5-file-homedir \
> +                    port:p5-app-cli \
> +                    port:p5-io-pager \
> +                    port:p5-json-xs \
> +                    port:p5-error \
> +                    port:p5-html-strip \
> +                    port:p5-libwww-perl

This isn't correct: you mustn't declare dependencies on stub ports. (p5-* ports are stub ports.) You probably want to change this to something like:


if {${perl5.major} != ""} {
depends_lib-append  port:p${perl5.major}-try-tiny \
                    port:p${perl5.major}-uri \
                    port:p${perl5.major}-scope-guard \
                    port:p${perl5.major}-file-homedir \
                    port:p${perl5.major}-app-cli \
                    port:p${perl5.major}-io-pager \
                    port:p${perl5.major}-json-xs \
                    port:p${perl5.major}-error \
                    port:p${perl5.major}-html-strip \
                    port:p${perl5.major}-libwww-perl
}





More information about the macports-dev mailing list