git: a35e3acba421 - main - misc/chatgpt-shell-cli: Add shebangfix to USES
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 18 Apr 2023 13:40:46 UTC
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>