git: 4d6480fbf40b - main - graphics/jpegoptim: Update to 1.4.7

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Thu, 21 Apr 2022 08:32:48 UTC
The branch main has been updated by ehaupt:

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

commit 4d6480fbf40b412ee7f8476c5fc4c0e65969ed2f
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2022-04-21 08:32:45 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2022-04-21 08:32:45 +0000

    graphics/jpegoptim: Update to 1.4.7
---
 graphics/jpegoptim/Makefile | 12 +++++++-----
 graphics/jpegoptim/distinfo |  6 +++---
 2 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/graphics/jpegoptim/Makefile b/graphics/jpegoptim/Makefile
index a27cfd9ef88a..f36cc86f9f09 100644
--- a/graphics/jpegoptim/Makefile
+++ b/graphics/jpegoptim/Makefile
@@ -1,10 +1,9 @@
 # Created by: Devaux Fabien <fab@gcu.info>
 
 PORTNAME=	jpegoptim
-PORTVERSION=	1.4.6
+PORTVERSION=	1.4.7
+DISTVERSIONPREFIX=	v
 CATEGORIES=	graphics
-MASTER_SITES=	http://www.kokkonen.net/tjko/src/ \
-		LOCAL/ehaupt
 
 MAINTAINER=	ehaupt@FreeBSD.org
 COMMENT=	Utility to optimize jpeg files
@@ -14,13 +13,16 @@ LICENSE_COMB=	dual
 
 USES=		cpe jpeg
 CPE_VENDOR=	${PORTNAME}_project
+USE_GITHUB=	yes
+GH_ACCOUNT=	tjko
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-libjpeg=${LOCALBASE}
 
-PLIST_FILES=	bin/jpegoptim man/man1/jpegoptim.1.gz
-
 MAKE_ENV+=	INSTALL_ROOT=${STAGEDIR}
 
+PLIST_FILES=	bin/jpegoptim \
+		man/man1/jpegoptim.1.gz
+
 post-patch:
 	@${REINPLACE_CMD} -e \
 		's|^bindir =.*$$|bindir = @bindir@|g ; \
diff --git a/graphics/jpegoptim/distinfo b/graphics/jpegoptim/distinfo
index 9a714431dbfc..b0cd0250ad99 100644
--- a/graphics/jpegoptim/distinfo
+++ b/graphics/jpegoptim/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1524148521
-SHA256 (jpegoptim-1.4.6.tar.gz) = 88b1eb64c2a33a2f013f068df8b0331f42c019267401ae3fa28e3277403a5ab7
-SIZE (jpegoptim-1.4.6.tar.gz) = 99004
+TIMESTAMP = 1650529812
+SHA256 (tjko-jpegoptim-v1.4.7_GH0.tar.gz) = c52616f2fb8d481315871680f9943b0f58c553d1e0c49a6bd4691a3e66d7e6de
+SIZE (tjko-jpegoptim-v1.4.7_GH0.tar.gz) = 109026