mirror of
https://git.freebsd.org/ports.git
synced 2025-05-31 10:26:28 -04:00
Release changes: https://github.com/gptscript-ai/gptscript/releases/tag/v0.5.0 Reported by: Craig Jellick <notifications@github.com>
28 lines
624 B
Makefile
28 lines
624 B
Makefile
PORTNAME= gptscript
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.5.0
|
|
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>
|