git: dc9126ffcb64 - main - x11-fonts/jf-openhuninn: Update to 2.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 18 Apr 2023 18:08:36 UTC
The branch main has been updated by sunpoet:

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

commit dc9126ffcb64d2bc5c785a888d4971280ad257ba
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-04-18 17:57:11 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-04-18 18:00:46 +0000

    x11-fonts/jf-openhuninn: Update to 2.0
    
    Changes:        https://github.com/justfont/open-huninn-font/releases
---
 x11-fonts/jf-openhuninn/Makefile | 9 +++++----
 x11-fonts/jf-openhuninn/distinfo | 6 +++---
 2 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/x11-fonts/jf-openhuninn/Makefile b/x11-fonts/jf-openhuninn/Makefile
index 5fb6b9299a92..dd30c9e6c7a8 100644
--- a/x11-fonts/jf-openhuninn/Makefile
+++ b/x11-fonts/jf-openhuninn/Makefile
@@ -1,7 +1,9 @@
 PORTNAME=	jf-openhuninn
-PORTVERSION=	1.1
+PORTVERSION=	2.0
 MASTER_SITES=	https://github.com/justfont/open-huninn-font/releases/download/v${PORTVERSION}/
 CATEGORIES=	x11-fonts
+DISTFILES=	jf-openhuninn-${PORTVERSION}.ttf
+EXTRACT_ONLY=	# empty
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	jf Open Huninn by justfont
@@ -9,9 +11,8 @@ WWW=		https://justfont.com/huninn/ \
 		https://github.com/justfont/open-huninn-font
 
 LICENSE=	OFL11
-LICENSE_FILE=	${WRKSRC}/license.txt
 
-USES=		fonts zip
+USES=		fonts
 
 NO_ARCH=	yes
 NO_BUILD=	yes
@@ -20,6 +21,6 @@ PLIST_FILES=	${FONTSDIR}/jf-openhuninn-${PORTVERSION}.ttf
 
 do-install:
 	${MKDIR} ${STAGEDIR}${FONTSDIR}
-	${INSTALL_DATA} ${WRKSRC}/jf-openhuninn-${PORTVERSION}.ttf ${STAGEDIR}${FONTSDIR}
+	${INSTALL_DATA} ${DISTDIR}/jf-openhuninn-${PORTVERSION}.ttf ${STAGEDIR}${FONTSDIR}
 
 .include <bsd.port.mk>
diff --git a/x11-fonts/jf-openhuninn/distinfo b/x11-fonts/jf-openhuninn/distinfo
index e5b46c18c4b1..2b1d19fd318b 100644
--- a/x11-fonts/jf-openhuninn/distinfo
+++ b/x11-fonts/jf-openhuninn/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1587498935
-SHA256 (jf-openhuninn-1.1.zip) = 1b5a8d0204f5763408609d5e8182455d23a2ebc7450730aed19cc13c619bca37
-SIZE (jf-openhuninn-1.1.zip) = 4039902
+TIMESTAMP = 1681052922
+SHA256 (jf-openhuninn-2.0.ttf) = eec8b0b68c34b9166ae37bed839b6126116b225d97f21a5954bb542b9fd1e68c
+SIZE (jf-openhuninn-2.0.ttf) = 4573152