You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
51 lines
1.9 KiB
Tcl
51 lines
1.9 KiB
Tcl
# -*- 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 github 1.0
|
|
|
|
github.setup github copilot-cli 1.0.70 v
|
|
|
|
categories llm
|
|
license Restrictive/Distributable
|
|
maintainers {dports @drkp} openmaintainer
|
|
description GitHub Copilot CLI -- AI-powered coding assistant in the terminal
|
|
long_description GitHub Copilot CLI brings AI-powered coding assistance \
|
|
directly to your command line, enabling you to build, \
|
|
debug, and understand code through natural language \
|
|
conversations. Powered by the same agentic harness as \
|
|
GitHub's Copilot coding agent.
|
|
|
|
homepage https://docs.github.com/copilot/concepts/agents/about-copilot-cli
|
|
|
|
supported_archs arm64 x86_64
|
|
platforms {darwin >= 20}
|
|
installs_libs no
|
|
|
|
use_configure no
|
|
build {}
|
|
|
|
# Pre-built binary -- architecture-specific distfiles
|
|
if {${configure.build_arch} eq "arm64"} {
|
|
set arch_string darwin-arm64
|
|
checksums rmd160 9b49f2fc86e563ac9e7a24934066002b138f7201 \
|
|
sha256 5f9791561eefe99b3bed25a02eef37dc434327053af05e6150dad7d6aed05a35 \
|
|
size 78391578
|
|
} else {
|
|
set arch_string darwin-x64
|
|
checksums rmd160 c6878a461c676ab21836292a9889f1233b3cb5b1 \
|
|
sha256 ce2d968b68c1a28690544ff638e762a804943992b5496fb7ec2358fe7f1eee87 \
|
|
size 87199563
|
|
}
|
|
|
|
dist_subdir ${name}/${version}
|
|
master_sites https://github.com/github/copilot-cli/releases/download/v${version}/
|
|
distname copilot-${arch_string}
|
|
|
|
extract.mkdir yes
|
|
|
|
destroot {
|
|
xinstall -m 0755 ${worksrcpath}/copilot ${destroot}${prefix}/bin/copilot
|
|
}
|
|
|
|
github.livecheck.regex {([0-9.]+)}
|