blob: 2b3109fbdc7c153cfd47c890c7db62aa3610ff8c (
plain)
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
|
PORTNAME= gptscript
DISTVERSIONPREFIX= v
DISTVERSION= 0.4.2
PORTREVISION= 3
CATEGORIES= lang
MAINTAINER= nivit@FreeBSD.org
COMMENT= Natural Programming Language
WWW= https://gptscript.ai/
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go:modules,1.22
USE_GITHUB= yes
GH_ACCOUNT= gptscript-ai
GO_MODULE= github.com/gptscript-ai/gptscript
OPTIONS_DEFINE= EXAMPLES
post-patch:
${REINPLACE_CMD} -e 's/0.0.0-dev/${PORTVERSION}/1' \
${WRKSRC}/pkg/version/version.go
post-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>
|