git: dbfcadcef900 - main - sysutils/minipro: Update to 0.5

From: Sean Bruno <sbruno_at_FreeBSD.org>
Date: Fri, 01 Apr 2022 21:25:44 UTC
The branch main has been updated by sbruno:

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

commit dbfcadcef90084c091ad352153e9be8e9cd785d9
Author:     Sean Bruno <sbruno@FreeBSD.org>
AuthorDate: 2022-03-27 02:21:10 +0000
Commit:     Sean Bruno <sbruno@FreeBSD.org>
CommitDate: 2022-04-01 21:25:35 +0000

    sysutils/minipro: Update to 0.5
    
    Reset maintainer at request of original submitter.
    Tested with firware update to TL866II+.
    
    Differential Revision: https://reviews.freebsd.org/D34683
---
 sysutils/minipro/Makefile             |  7 +++----
 sysutils/minipro/distinfo             |  6 +++---
 sysutils/minipro/files/patch-Makefile | 14 +++++++-------
 3 files changed, 13 insertions(+), 14 deletions(-)

diff --git a/sysutils/minipro/Makefile b/sysutils/minipro/Makefile
index f0b205111a13..6d5aa52c7d57 100644
--- a/sysutils/minipro/Makefile
+++ b/sysutils/minipro/Makefile
@@ -1,11 +1,10 @@
 # Created by: Hondareyte <lhondareyte@laposte.net>
 
 PORTNAME=	minipro
-PORTVERSION=	0.3
-PORTREVISION=	2
+PORTVERSION=	0.5
 CATEGORIES=	sysutils
 
-MAINTAINER=	lhondareyte@laposte.net
+MAINTAINER=	sbruno@freebsd.org
 COMMENT=	CLI for MiniPRO TL866xx chip programmers
 
 LICENSE=	GPLv3
@@ -17,7 +16,7 @@ USES=		compiler:c11 gmake pkgconfig shebangfix
 USE_GITLAB=	yes
 
 GL_ACCOUNT=	DavidGriffith
-GL_COMMIT=	e6fb06822e6685886a045ae98c3c82d832bd8e9c
+GL_COMMIT=	8be592c954264afdc3a2cb596ee45517cc5dc621
 GL_PROJECT=	${PORTNAME}
 BINARY_ALIAS=	sed=${LOCALBASE}/bin/gsed
 SHEBANG_FILES=	miniprohex
diff --git a/sysutils/minipro/distinfo b/sysutils/minipro/distinfo
index eb9c018b521b..7c705a09d165 100644
--- a/sysutils/minipro/distinfo
+++ b/sysutils/minipro/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1617892296
-SHA256 (DavidGriffith-minipro-e6fb06822e6685886a045ae98c3c82d832bd8e9c_GL0.tar.gz) = 81fdf0e937660b577e2e5456824c04dafbcc4701bf84a6da60f6de8a1f2869d0
-SIZE (DavidGriffith-minipro-e6fb06822e6685886a045ae98c3c82d832bd8e9c_GL0.tar.gz) = 282019
+TIMESTAMP = 1648345702
+SHA256 (DavidGriffith-minipro-8be592c954264afdc3a2cb596ee45517cc5dc621_GL0.tar.gz) = 4b0381949b1ac335132fd4ee6560fe8cfa6320edaaa1f7473ebec03dce2fa907
+SIZE (DavidGriffith-minipro-8be592c954264afdc3a2cb596ee45517cc5dc621_GL0.tar.gz) = 388948
diff --git a/sysutils/minipro/files/patch-Makefile b/sysutils/minipro/files/patch-Makefile
index d69c9c97ddd1..2f7425f74a1c 100644
--- a/sysutils/minipro/files/patch-Makefile
+++ b/sysutils/minipro/files/patch-Makefile
@@ -1,4 +1,4 @@
---- Makefile.orig	2019-02-27 06:19:06 UTC
+--- Makefile.orig	2022-03-27 01:54:42 UTC
 +++ Makefile
 @@ -1,16 +1,16 @@
  # Install Configuration
@@ -9,8 +9,8 @@
  #CC=clang
  
  # Compiler options
--CFLAGS = -g -O0 -Wall
-+CFLAGS ?= -g -O0 -Wall
+-CFLAGS = -g -O0 -Wall -DSHARE_INSTDIR="\"$(SHARE_INSTDIR)\""
++CFLAGS += -g -O0 -Wall -DSHARE_INSTDIR="\"$(SHARE_INSTDIR)\""
  
  # Normally minipro is installed to /usr/local.  If you want to put it
  # somewhere else, define that location here.
@@ -20,10 +20,10 @@
  
  # Some older releases of MacOS need some extra library flags.
  #EXTRA_LIBS += "-framework Foundation -framework IOKit"
-@@ -58,7 +58,7 @@ OBJCOPY=objcopy
- 
- DIST_DIR = $(MINIPRO)-$(VERSION)
- BIN_INSTDIR=$(DESTDIR)$(PREFIX)/bin
+@@ -70,7 +70,7 @@ INCLUDE_INSTDIR=$(DESTDIR)$(PREFIX)/include/libminipro
+ LIB_INSTDIR=$(DESTDIR)$(PREFIX)/lib
+ SHARE_INSTDIR=$(DESTDIR)$(PREFIX)/share/minipro
+ INCLUDE_INSTDIR=$(DESTDIR)$(PREFIX)/include/libminipro
 -MAN_INSTDIR=$(DESTDIR)$(PREFIX)/share/man/man1
 +MAN_INSTDIR=$(DESTDIR)$(PREFIX)/man/man1