git: c8ecf912421e - main - print/makeindex: Refactor

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

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

commit c8ecf912421ee9ee86687aa78a612f8f18f0d930
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2025-06-01 17:00:30 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2025-06-01 17:10:05 +0000

    print/makeindex: Refactor
    
    - Add LICENSE LicenseRef-makeindex
    - Use DISTVERSION instead of PORTVERSION
    - Use USES=tar instead of EXTRACT_SUFX
---
 print/makeindex/Makefile | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/print/makeindex/Makefile b/print/makeindex/Makefile
index 6c8bfebfecca..dae1d5f65623 100644
--- a/print/makeindex/Makefile
+++ b/print/makeindex/Makefile
@@ -1,14 +1,20 @@
 PORTNAME=	makeindex
-PORTVERSION=	3.0.8
-PORTREVISION=	2
+DISTVERSION=	3.0.8
+PORTREVISION=	3
 CATEGORIES=	print
 MASTER_SITES=	http://ftp.linux.cz/pub/tex/local/indexing/makeindex3/ \
 		http://ftp.cstug.cz/pub/tex/local/indexing/makeindex3/
-EXTRACT_SUFX=	.tar.Z
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	General purpose, formatter-independent index processor
 
+LICENSE=	LicenseRef-makeindex
+LICENSE_NAME=	makeindex License
+LICENSE_FILE=	${WRKSRC}/COPYING
+LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+
+USES=		tar:Z
+
 CONFLICTS=	teTeX-base
 
 WRKSRC=		${WRKDIR}/makeindex