Ignore:
Timestamp:
Dec 15, 2014, 12:11:38 AM (5 years ago)
Author:
ionic@…
Message:

PortGroup/{github,bitbucket}: rename source archives containing a top level dir of project-name-hash instead of name-version.

This patch enables the post-extract hook for all ports appending some
distfile location to ${master_sites}, as long as the original github or
bitbucket source is left intact within the ${master_sites} list.

Remove workarounds needed in a few ports to achieve exactly this.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/peco/Portfile

    r125722 r129506  
    6161set gopath      ${workpath}/GOPATH
    6262post-extract {
    63     move [glob ${workpath}/peco-*] ${worksrcpath}
    6463    file mkdir ${gopath}/src/github.com/peco
    6564    ln -s ${worksrcpath} ${gopath}/src/github.com/peco/peco
Note: See TracChangeset for help on using the changeset viewer.