diff --git a/shells/psh/Portfile b/shells/psh/Portfile index 72e3287d4ced3..d5b09d2ebced6 100644 --- a/shells/psh/Portfile +++ b/shells/psh/Portfile @@ -3,10 +3,19 @@ PortSystem 1.0 PortGroup perl5 1.0 +perl5.require_variant yes +perl5.conflict_variants yes +perl5.branches 5.26 5.28 +perl5.create_variants ${perl5.branches} + name psh -perl5.branches 5.26 -perl5.setup psh 1.8.1 -revision 3 +perl5.setup psh 1.9_01 + +# fetch most recent git master (20121218) +# contains runtime fixes for perl5.22+ and other bugs +set git_commit 9e22f850d0f7107bef9a4e3c3da3a5a0459d3b8a +set git_date 20121218 +version 1.9_01-${git_date} perl5.link_binaries_suffix categories shells perl license {Artistic-1 GPL} @@ -21,10 +30,16 @@ supported_archs noarch homepage https://gnp.github.io/psh/ master_sites https://github.com/gnp/psh/archive/ -checksums rmd160 3fa91de47e19bb395b7e3e4a90bd245e7d3f7384 \ - sha256 c8414c4381a6a715800a7b59c39276d1f19087bf2e0b6a9b950af4feaf7701a8 +distname ${git_commit} -worksrcdir psh-psh-${version} +checksums rmd160 d4b765e261b42f44a8b20b9f495239e6df2db107 \ + sha256 94e783f54184b18625b0ffa6f7130d24b05bb91b8b1647ff1eaf7e98594c27bd \ + size 119347 + +worksrcdir ${name}-${git_commit} depends_lib-append port:p${perl5.major}-term-readline-gnu \ port:p${perl5.major}-bsd-resource + +# no further commits since 20121218, further releases unlikely +livecheck.type none