git: 5468faa9fc52 - main - russian/d1489: Refactor

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 01 Jun 2025 17:11:46 UTC
The branch main has been updated by bofh:

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

commit 5468faa9fc52f0ac5f04f92f92d25a0f08936150
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2025-06-01 16:32:42 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2025-06-01 17:10:04 +0000

    russian/d1489: Refactor
    
    - Add LICENSE BSD2CLAUSE
    - Use USES=tar instead of EXTRACT_SUFX
    
    Approved by:    portmgr (blanket)
---
 russian/d1489/Makefile | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/russian/d1489/Makefile b/russian/d1489/Makefile
index 5f82ceb38eb4..b30f33a7b0cc 100644
--- a/russian/d1489/Makefile
+++ b/russian/d1489/Makefile
@@ -1,15 +1,21 @@
 PORTNAME=	d1489
-PORTVERSION=	1.5.1
+DISTVERSION=	1.5.1
+PORTREVISION=	1
 CATEGORIES=	russian converters
 MASTER_SITES=	LOCAL/eugen \
 		http://www.grosbein.net/freebsd/distfiles/
-EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	eugen@FreeBSD.org
 COMMENT=	Cp866<->koi8-r and cp1251<->koi8-r decoders, font converter (RFC1489)
 WWW=		https://koi8.pp.ru/unix.html
 
+# Mentioned in README and Makefile, but not in the source code.
+LICENSE=	BSD2CLAUSE
+
+USES=		tar:tgz
+
 MAKE_ARGS=	PREFIX=${PREFIX} STAGEDIR=${STAGEDIR}
+
 PLIST_FILES=	bin/a2kfcnv bin/fromdos bin/todos bin/fromwin bin/towin
 
 .include <bsd.port.mk>