Created attachment 225201 [details] Adds missing files/LICENSE.txt I submitted a patch created with `diff -u` instead of `diff -ruN` and broke the port https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256090 The attached patch: * adds missing file (files/LICENSE.txt) * bumps PORTREVISION up from 1 to 2 Lesson learned
passes QA - portlint: OK (looks fine.) - testport: OK (poudriere: 130amd64, 130i386)
Moin moin, only a few nits. When installing the icons within the do-install target, I suggest using a for loop to help reduce boilerplate, so something like; .for res in 16 32 48 128 256 @${MKDIR} ${STAGEDIR}${DATADIR} \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${res}x${res}/apps/ ${INSTALL_DATA} ${WRKSRC}/Icon/${res}x${res}/sublime-text.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${res}x${res}/apps/ .endfor I am getting a few complaints with portclippy[1] about the order of some variables if you want to address those. Lastly, to keep port Makefiles consistently formatted, it's recommended to use portfmt which is also included in [1]. Otherwise, it looks okay to me. Cheers! [1] Part of the suite in https://www.freshports.org/ports-mgmt/portfmt/
Created attachment 225207 [details] Adds license file and reformats Makefile
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=83539d8247cbd8cff831f374acb59331a1123f48 commit 83539d8247cbd8cff831f374acb59331a1123f48 Author: MatÃas Pizarro <matias@pizarro.net> AuthorDate: 2021-05-23 20:39:38 +0000 Commit: Lewis Cook <lcook@FreeBSD.org> CommitDate: 2021-05-23 20:41:05 +0000 editors/linux-sublime3: Add missing LICENSE file While here, pet portclippy and portfmt. PR: 256104 editors/linux-sublime3/Makefile | 33 +++++++++++--------------- editors/linux-sublime3/files/LICENSE.txt (new) | 21 ++++++++++++++++ 2 files changed, 35 insertions(+), 19 deletions(-)
Committed, thanks!