Ignore:
Timestamp:
Jul 8, 2014, 12:41:31 PM (5 years ago)
Author:
kimuraw@…
Message:

sysutils/peco: refactor Portfile

  • add a blank line after $Id$
  • use portgroup github
    • distname changed to peco-${version} form peco-peco-${version}
  • delete unneeded quote for xinstall
File:
1 edited

Legend:

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

    r121802 r121804  
    11# $Id$
     2
    23PortSystem      1.0
     4PortGroup       github 1.0
    35
    4 name            peco
    5 version         0.2.0
     6github.setup    peco peco 0.2.0 v
    67revision        0
    78categories      sysutils
     
    2223
    2324# peco
    24 master_sites    https://github.com/peco/peco/tarball/v${version}:peco
    25 distfiles       peco-peco-v${version}.tar.gz:peco
    26 checksums       peco-peco-v${version}.tar.gz \
     25checksums       peco-${version}.tar.gz \
    2726                    md5 fddcd8b1876e81f7767b330ee9c6d976 \
    2827                    sha1 f52c7770dd488716a1600e62c3a053683f8fe0e0 \
     
    6261set gopath      ${workpath}/GOPATH
    6362post-extract {
    64     move [glob ${workpath}/peco-peco-*] ${worksrcpath}
     63    move [glob ${workpath}/peco-*] ${worksrcpath}
    6564    file mkdir ${gopath}/src/github.com/peco
    6665    ln -s ${worksrcpath} ${gopath}/src/github.com/peco/peco
     
    7978
    8079destroot {
    81     xinstall "${worksrcpath}/peco" "${destroot}/${prefix}/bin"
     80    xinstall ${worksrcpath}/peco ${destroot}${prefix}/bin
    8281}
Note: See TracChangeset for help on using the changeset viewer.