Date: Tue, 18 Apr 2023 13:40:46 GMT From: Nicola Vitale <nivit@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: a35e3acba421 - main - misc/chatgpt-shell-cli: Add shebangfix to USES Message-ID: <202304181340.33IDekn6038738@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by nivit: URL: https://cgit.FreeBSD.org/ports/commit/?id=a35e3acba421ad5f8a4c4b8051861a74cfc95962 commit a35e3acba421ad5f8a4c4b8051861a74cfc95962 Author: Nicola Vitale <nivit@FreeBSD.org> AuthorDate: 2023-04-18 13:39:40 +0000 Commit: Nicola Vitale <nivit@FreeBSD.org> CommitDate: 2023-04-18 13:39:40 +0000 misc/chatgpt-shell-cli: Add shebangfix to USES --- misc/chatgpt-shell-cli/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/misc/chatgpt-shell-cli/Makefile b/misc/chatgpt-shell-cli/Makefile index 618ba85c1fd7..e5ae1fd07e0c 100644 --- a/misc/chatgpt-shell-cli/Makefile +++ b/misc/chatgpt-shell-cli/Makefile @@ -14,22 +14,24 @@ RUN_DEPENDS= bash:shells/bash \ jq:textproc/jq \ xdg-open:devel/xdg-utils -USES= magick:run +USES= magick:run shebangfix USE_GITHUB= yes GH_ACCOUNT= 0xacx GH_PROJECT= chatGPT-shell-cli GH_TAGNAME= 42d82b9 +SHEBANG_FILES= ${WRKSRC}/chatgpt.sh + NO_ARCH= yes NO_BUILD= yes -PLIST_FILES= chatgpt +PLIST_FILES= bin/chatgpt post-patch: ${REINPLACE_CMD} 's/open \("$${image_url}"\)/xdg-open \1/g' ${WRKSRC}/chatgpt.sh do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/chatgpt.sh ${PREFIX}/bin/chatgpt + ${INSTALL_SCRIPT} ${WRKSRC}/chatgpt.sh ${STAGEDIR}${PREFIX}/bin/chatgpt .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304181340.33IDekn6038738>