diff --git a/sysutils/minipro/Makefile b/sysutils/minipro/Makefile index f0b205111a13..6d5aa52c7d57 100644 --- a/sysutils/minipro/Makefile +++ b/sysutils/minipro/Makefile @@ -1,32 +1,31 @@ # Created by: Hondareyte 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 BUILD_DEPENDS= gsed:textproc/gsed RUN_DEPENDS= bash:shells/bash 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 PLIST_FILES= bin/minipro \ bin/miniprohex \ man/man1/minipro.1.gz post-install: @${GZIP_CMD} ${STAGEDIR}${PREFIX}/man/man1/minipro.1 @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include 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,31 +1,31 @@ ---- 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 # Your C compiler -CC=gcc +CC?=gcc #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. PREFIX ?= /usr/local -MANDIR ?= $(PREFIX)/share/man +MANDIR ?= $(PREFIX)/man # 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 UDEV_DIR=$(shell $(PKG_CONFIG) --define-variable=prefix=$(PREFIX) --silence-errors --variable=udevdir udev) UDEV_RULES_INSTDIR=$(DESTDIR)$(UDEV_DIR)/rules.d