[143330] trunk/dports/devel/docker-machine/Portfile
sean at macports.org
sean at macports.org
Sat Dec 12 09:31:48 PST 2015
Revision: 143330
https://trac.macports.org/changeset/143330
Author: sean at macports.org
Date: 2015-12-10 16:21:17 -0800 (Thu, 10 Dec 2015)
Log Message:
-----------
docker-machine: add bash variant and fix build; closes #49952
Modified Paths:
--------------
trunk/dports/devel/docker-machine/Portfile
Modified: trunk/dports/devel/docker-machine/Portfile
===================================================================
--- trunk/dports/devel/docker-machine/Portfile 2015-12-11 00:21:16 UTC (rev 143329)
+++ trunk/dports/devel/docker-machine/Portfile 2015-12-11 00:21:17 UTC (rev 143330)
@@ -6,6 +6,7 @@
github.setup docker machine 0.5.1 v
name docker-machine
+revision 1
categories devel
platforms darwin
license Apache-2
@@ -16,15 +17,13 @@
creates servers, installs Docker on them, then configures \
the Docker client to talk to them.
-depends_build port:godep
-depends_lib port:docker
+depends_lib port:go port:docker
checksums rmd160 bee518074f44122823673a387a9a8f3bafd475c7 \
sha256 e9c2ee3d3b6d1b676ba3e883f3f3b6085ad22c84520246251a7063f2dd92114f
use_configure no
-build.cmd godep
-build.target go build -o ${name}
+build.target build
build.env GOPATH=${worksrcpath}
# what kind of tool does this?
@@ -35,7 +34,17 @@
destroot {
xinstall -d ${destroot}${prefix}/bin
- xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
+ eval xinstall -m 755 [glob ${worksrcpath}/bin/*] ${destroot}${prefix}/bin/
+
+ if {[variant_isset bash_completion]} {
+ set completions_path ${prefix}/share/bash-completion/completions
+ xinstall -d ${destroot}${completions_path}
+ eval xinstall -m 644 [glob ${worksrcpath}/contrib/completion/bash/*.bash] ${destroot}${completions_path}/
+ }
}
+variant bash_completion {
+ depends_run-append path:etc/bash_completion:bash-completion
+}
+
livecheck.regex archive/[join ${github.tag_prefix} ""](\[^"r-\]+)${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/b34a289d/attachment.html>
More information about the macports-changes
mailing list