Skip to content
Permalink
Browse files

stow: update to v2.3.1, dependencies

* use PortGroup perl5 exclusively to fetch, build and test
* perl5.setup now sets version, home, master_sites, test and livecheck to defaults
* don't set perl5.branches, PortGroup will use its default (currently 5.28)
* drop lib dependencies that were removed by this update upstream
  • Loading branch information
dbevans committed Aug 9, 2019
1 parent 262a6a4 commit fbde82367022598bd497f7cb4ead56cc5482886c
Showing with 16 additions and 18 deletions.
  1. +16 −18 sysutils/stow/Portfile
@@ -4,8 +4,9 @@ PortSystem 1.0
PortGroup perl5 1.0

name stow
version 2.3.0
revision 0

perl5.setup Stow v2.3.1 ../../authors/id/A/AS/ASPIERS

categories sysutils
platforms darwin
maintainers nomaintainer
@@ -18,22 +19,19 @@ long_description Stow is a symlink farm manager which takes distinct sets of
and/or data located in separate directories on the filesystem, and makes \
them all appear to be installed in a single directory tree.

homepage https://www.gnu.org/software/stow/stow.html
master_sites gnu

checksums rmd160 7156dbb25e9bbc20455c34510cfb69f87606f275 \
sha256 0524eaa0d4485d1bffb78b5cdf5b6fc13e39444666ca2e51336f66ddb3c81841 \
size 652135

perl5.branches 5.28

configure.perl ${perl5.bin}
depends_lib port:perl${perl5.major} \
port:p${perl5.major}-hash-merge \
port:p${perl5.major}-clone
checksums rmd160 d65ffe0d4c9a6676c5e0ae63f751135a4c1f7dce \
sha256 5062a1f8d0c03e38aca5cf46b72de0cba03f901279729338b7b2f93e518182d8 \
size 704878

post-patch {
reinplace "s|^#!/usr/bin/perl|#!${perl5.bin}|" \
${worksrcpath}/bin/chkstow \
${worksrcpath}/bin/stow
}

depends_test port:p${perl5.major}-test-output \
port:p${perl5.major}-io-stringy
perl5.use_module_build
perl5.link_binaries_suffix

test.run yes
depends_build-append \
port:p${perl5.major}-io-stringy \
port:p${perl5.major}-test-output

0 comments on commit fbde823

Please sign in to comment.
You can’t perform that action at this time.