git: cda578b60666 - main - emulators/tnylpo: Update to 1.1.4

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Sat, 22 Oct 2022 20:10:35 UTC
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=cda578b60666f4af6f378b87dc87d3a36ad15b67

commit cda578b60666f4af6f378b87dc87d3a36ad15b67
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2022-10-22 19:59:41 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2022-10-22 20:10:30 +0000

    emulators/tnylpo: Update to 1.1.4
    
    - Use of USE_GITLAB
    - Do not override CFLAGS set by framework
    
    Changelog:
    https://gitlab.com/gbrein/tnylpo/-/releases/1.1.4
    
    PR:             266934
    Approved by:    portmgr (maintainer timeout, 3+ weeks)
---
 emulators/tnylpo/Makefile             |  9 ++++++---
 emulators/tnylpo/distinfo             |  6 +++---
 emulators/tnylpo/files/patch-makefile | 11 +++++++++++
 3 files changed, 20 insertions(+), 6 deletions(-)

diff --git a/emulators/tnylpo/Makefile b/emulators/tnylpo/Makefile
index 1174c5623778..dd67ff4d1ab7 100644
--- a/emulators/tnylpo/Makefile
+++ b/emulators/tnylpo/Makefile
@@ -1,15 +1,18 @@
 PORTNAME=	tnylpo
-DISTVERSION=	1.1.3
+DISTVERSION=	1.1.4
 CATEGORIES=	emulators
-MASTER_SITES=	https://gitlab.com/gbrein/${PORTNAME}/-/archive/${DISTVERSION}/
 
 MAINTAINER=	joerg@FreeBSD.org
 COMMENT=	CP/M emulator
 WWW=		https://gitlab.com/gbrein/tnylpo
 
 LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		tar:bzip2 gmake
+USES=		gmake
+USE_GITLAB=	yes
+GL_ACCOUNT=	gbrein
+GL_COMMIT=	3216c00c7a97d373b51192a96da46510f75f1adb
 
 MAKEFILE=	makefile
 
diff --git a/emulators/tnylpo/distinfo b/emulators/tnylpo/distinfo
index cf6302667cd4..ba969ef772b5 100644
--- a/emulators/tnylpo/distinfo
+++ b/emulators/tnylpo/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1618083235
-SHA256 (tnylpo-1.1.3.tar.bz2) = f017db288d4de2aceeacc7a507e789bdd399cfc23a818c556117ff87c2fa3fe2
-SIZE (tnylpo-1.1.3.tar.bz2) = 83457
+TIMESTAMP = 1665379640
+SHA256 (gbrein-tnylpo-3216c00c7a97d373b51192a96da46510f75f1adb_GL0.tar.gz) = e1c2590ca1da6f09648c3817184355b64c9cf17404de0540b38425f33175a4a8
+SIZE (gbrein-tnylpo-3216c00c7a97d373b51192a96da46510f75f1adb_GL0.tar.gz) = 102805
diff --git a/emulators/tnylpo/files/patch-makefile b/emulators/tnylpo/files/patch-makefile
new file mode 100644
index 000000000000..22c7c1f811c3
--- /dev/null
+++ b/emulators/tnylpo/files/patch-makefile
@@ -0,0 +1,11 @@
+--- makefile.orig	2022-10-10 05:31:51 UTC
++++ makefile
+@@ -28,7 +28,7 @@
+ 
+ 
+ SYSTEM=$(shell uname -s)
+-CFLAGS=-std=c99 -pedantic -O3 -Wall
++CFLAGS+=-std=c99 -pedantic -Wall
+ ifeq ($(SYSTEM),Linux)
+ CFLAGS+=-D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE_EXTENDED
+ CFLAGS+=-I /usr/include/ncursesw