-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
Portfile
43 lines (34 loc) · 1.61 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup golang 1.0
go.setup github.com/docker/compose 2.26.1 v
revision 0
name docker-compose-plugin
categories devel
platforms darwin
license Apache-2
maintainers {danchr @danchr} \
openmaintainer
description Define and run multi-container applications with Docker
long_description A tool for running multi-container applications on \
Docker defined using the Compose file format. A \
Compose file is used to define how one or more \
containers that make up your application are \
configured. Once you have a Compose file, you can \
create and start your application with a single \
command: docker compose up.
checksums rmd160 ac7a5c7a9f879ec03d7f8ee8a1f3ea7ced7f8007 \
sha256 2f6dbacea8e1378f54ee847503390500c64b38862e5fa70ef71e4b27958fec19 \
size 361153
go.offline_build no
build.target -o ${name} ./cmd
depends_run port:docker
post-patch {
reinplace "/Version *=/s/\"\[^\"]*\"/\"${go.version}\"/" \
${worksrcpath}/internal/variables.go
}
destroot {
xinstall -d ${destroot}${prefix}/libexec/docker/cli-plugins
xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/libexec/docker/cli-plugins/docker-compose
}
github.livecheck.regex {([^"r]+)}