about [UPDATING] [MOVED] [vuxml]summaryrefslograw-logtreecommitdiffstats
path: root/misc/github-copilot-cli/Makefile [up]
Last 15 commits to file "misc/github-copilot-cli/Makefile" in the last year: [ Last 15 commits to this file | All commits to this file ]
 
Commit messageAuthorDateFilesLines
* [ file ]misc/github-copilot-cli: update 1.0.86 → 1.0.88Yuri Victorovich2026-09-27 08:53:18 +01001-1/+1
* [ file ]misc/github-copilot-cli: update 1.0.85 → 1.0.86Yuri Victorovich2026-09-18 09:06:03 +01001-1/+1
* [ file ]misc/github-copilot-cli: update 1.0.83 → 1.0.85Yuri Victorovich2026-09-16 08:23:44 +01001-1/+1
* [ file ]misc/github-copilot-cli: update 1.0.78 → 1.0.83Yuri Victorovich2026-09-06 07:18:24 +01001-1/+1
* [ file ]misc/github-copilot-cli: update 1.0.77 → 1.0.78Yuri Victorovich2026-08-06 07:01:07 +01001-1/+1
* [ file ]misc/github-copilot-cli: update 1.0.76 → 1.0.77Yuri Victorovich2026-08-01 07:50:04 +01001-1/+1
* [ file ]misc/github-copilot-cli: update 1.0.75 → 1.0.76Yuri Victorovich2026-07-30 19:11:33 +01001-1/+1
* [ file ]misc/github-copilot-cli: update 1.0.71 → 1.0.75Yuri Victorovich2026-07-25 06:25:23 +01001-1/+1
* [ file ]misc/github-copilot-cli: update 1.0.70 → 1.0.71Yuri Victorovich2026-07-17 07:59:58 +01001-1/+1
* [ file ]misc/github-copilot-cli: update 1.0.69 → 1.0.70Yuri Victorovich2026-07-11 03:55:22 +01001-1/+1
* [ file ]misc/github-copilot-cli: update 1.0.68 → 1.0.69Yuri Victorovich2026-07-08 01:04:11 +01001-1/+1
* [ file ]misc/github-copilot-cli: update 1.0.65 → 1.0.68Yuri Victorovich2026-07-06 15:26:27 +01001-1/+1
* [ file ]misc/github-copilot-cli: New port: CLI for GitHub CopilotYuri Victorovich2026-06-28 00:23:55 +01001-0/+48
* [ file ]misc/github-copilot-cli: Move to misc/github-copilot-cli-legacyYuri Victorovich2026-06-28 00:01:30 +01001-252/+0
* [ file ]misc/github-copilot-cli: Fix build broken by python-related issuesYuri Victorovich2026-06-27 12:16:16 +01001-8/+2
[...]


commit: (<title> <author> <date> etc.)
blob: 1a4b6c4875e3d4277e3ea48f4aa04500aaa3f8f3 (plain) (blame)
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
44
45
46
47
48
49
50
51
PORTNAME=	github-copilot-cli
DISTVERSIONPREFIX=	v
DISTVERSION=	1.0.114
CATEGORIES=	misc # machine-learning
MASTER_SITES=	https://github.com/github/copilot-cli/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/:amd64 \
		https://github.com/github/copilot-cli/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/:aarch64
DISTFILES=	copilot-linux-x64.tar.gz:amd64 \
		copilot-linux-arm64.tar.gz:aarch64
DIST_SUBDIR=	${PORTNAME}-${DISTVERSION}

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	CLI for GitHub Copilot
WWW=		https://github.com/github/copilot-cli

ONLY_FOR_ARCHS=		aarch64 amd64
ONLY_FOR_ARCHS_REASON=	is a Linux binary with a limited platform support

USES=		cpe linux:rl9
USE_LINUX=	base

CPE_VENDOR=	github
CPE_PRODUCT=	copilot-cli

NO_BUILD=	yes
NO_WRKSUBDIR=	yes

PLIST_FILES=	bin/copilot

find-new-version:
	@TAB=$$(printf '\t'); \
	new_ver=$$(${PORTSDIR}/Tools/scripts/github-get-latest-version.sh github copilot-cli | ${SED} 's/^v//'); \
	current_ver=$$(make -V DISTVERSION); \
	if [ "$$new_ver" != "$$current_ver" ]; then \
		${SED} -i '' "s/^DISTVERSION=.*/DISTVERSION=$${TAB}$$new_ver/" ${.CURDIR}/Makefile; \
		echo "=> New version available: $$current_ver -> $$new_ver"; \
	else \
		echo "=> No new version available (current: $$current_ver)"; \
	fi

.include <bsd.port.pre.mk>

.if ${ARCH} == aarch64
EXTRACT_ONLY=	copilot-linux-arm64.tar.gz
.else
EXTRACT_ONLY=	copilot-linux-x64.tar.gz
.endif

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/copilot ${STAGEDIR}${PREFIX}/bin/copilot

.include <bsd.port.post.mk>
This site is maintained by Jamie Landeg-Jones <jamie@catflap.org>, and is not an official FreeBSD project, nor is it endorsed by the FreeBSD team.