www/tgpt: Fix Makefile * Remove unneeded line: LICENSE_FILE because LICENSE is already known by ports framework. * Fix USES by adding: modules and removing GO_PKGNAME. * Add GH_PROJECT. * Remove output argument from GO_BUILDFLAGS as it does nothing.
Created attachment 252551 [details] www/tgpt
Created attachment 252552 [details] poudriere testport log
Created attachment 252553 [details] portlint log
(In reply to Yusuf Yaman from comment #0) https://docs.freebsd.org/en/books/porters-handbook/book/#licenses-license : When the software provides the license file, use this: LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING GH_PROJECT: the github-uses set it to PORTNAME, see table 5. (https://docs.freebsd.org/en/books/porters-handbook/book/#makefile-master_sites-github) (and try "make -V GH_PROJECT").
(In reply to Zsolt Udvari from comment #4) along with either LICENSE_FILE or LICENSE_TEXT. LICENSE_DISTFILES and LICENSE_GROUPS can also be set, but are not required. I understood that it is not required, am i wrong? About GH_PROJECT, ok so I should remove it and it will use PORTNAME by default, thanks.
> along with either LICENSE_FILE or LICENSE_TEXT. LICENSE_DISTFILES and > LICENSE_GROUPS can also be set, but are not required. > I understood that it is not required, am i wrong? Oh, sorry. I understood it right now.
Created attachment 252555 [details] www/tgpt
Created attachment 252556 [details] poudriere testport log
Created attachment 252557 [details] portlint log
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=00cf029670f1536cd94ad8eaa0c86f183b51285e commit 00cf029670f1536cd94ad8eaa0c86f183b51285e Author: Yusuf Yaman <nxjoseph@protonmail.com> AuthorDate: 2024-08-06 15:15:04 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2024-08-06 15:22:54 +0000 www/tgpt: Fix Makefile * Fix USES by adding: modules and removing GO_PKGNAME. * Remove output argument from GO_BUILDFLAGS as it does nothing. PR: 280660 MFH: 2024Q3 www/tgpt/Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)
A commit in branch 2024Q3 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=68f15c5a986862dd5c88fdd09d40bb4a72525f5d commit 68f15c5a986862dd5c88fdd09d40bb4a72525f5d Author: Yusuf Yaman <nxjoseph@protonmail.com> AuthorDate: 2024-08-06 15:15:04 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2024-08-06 15:26:30 +0000 www/tgpt: Fix Makefile * Fix USES by adding: modules and removing GO_PKGNAME. * Remove output argument from GO_BUILDFLAGS as it does nothing. PR: 280660 MFH: 2024Q3 (cherry picked from commit 00cf029670f1536cd94ad8eaa0c86f183b51285e) www/tgpt/Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)
Thanks.
(In reply to Vladimir Druzenko from comment #12) You are welcome, very thanks for giving a look to my port requests.