[121804] trunk/dports/sysutils/peco/Portfile
kimuraw at macports.org
kimuraw at macports.org
Tue Jul 8 05:41:31 PDT 2014
Revision: 121804
https://trac.macports.org/changeset/121804
Author: kimuraw at macports.org
Date: 2014-07-08 05:41:31 -0700 (Tue, 08 Jul 2014)
Log 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`
Modified Paths:
--------------
trunk/dports/sysutils/peco/Portfile
Modified: trunk/dports/sysutils/peco/Portfile
===================================================================
--- trunk/dports/sysutils/peco/Portfile 2014-07-08 12:24:47 UTC (rev 121803)
+++ trunk/dports/sysutils/peco/Portfile 2014-07-08 12:41:31 UTC (rev 121804)
@@ -1,8 +1,9 @@
# $Id$
+
PortSystem 1.0
+PortGroup github 1.0
-name peco
-version 0.2.0
+github.setup peco peco 0.2.0 v
revision 0
categories sysutils
homepage http://peco.github.io
@@ -21,9 +22,7 @@
dist_subdir go
# peco
-master_sites https://github.com/peco/peco/tarball/v${version}:peco
-distfiles peco-peco-v${version}.tar.gz:peco
-checksums peco-peco-v${version}.tar.gz \
+checksums peco-${version}.tar.gz \
md5 fddcd8b1876e81f7767b330ee9c6d976 \
sha1 f52c7770dd488716a1600e62c3a053683f8fe0e0 \
sha256 5f7a424cc7aa9021b05996660dcdbad629ac925618c3b94c1c12c82111020939
@@ -61,7 +60,7 @@
# :
set gopath ${workpath}/GOPATH
post-extract {
- move [glob ${workpath}/peco-peco-*] ${worksrcpath}
+ move [glob ${workpath}/peco-*] ${worksrcpath}
file mkdir ${gopath}/src/github.com/peco
ln -s ${worksrcpath} ${gopath}/src/github.com/peco/peco
file mkdir ${gopath}/src/github.com/jessevdk
@@ -78,5 +77,5 @@
build.env GOPATH="${gopath}"
destroot {
- xinstall "${worksrcpath}/peco" "${destroot}/${prefix}/bin"
+ xinstall ${worksrcpath}/peco ${destroot}${prefix}/bin
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140708/f4eecc2f/attachment-0001.html>
More information about the macports-changes
mailing list