git: 27a57de8ec95 - main - textproc/itstool: Add LICENSE_FILE

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 11 Jul 2025 04:33:25 UTC
The branch main has been updated by sunpoet:

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

commit 27a57de8ec95e246eb40705967e9dfe4398bdd04
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-07-11 04:28:05 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-07-11 04:31:44 +0000

    textproc/itstool: Add LICENSE_FILE
    
    - Update MASTER_SITES
    - Update COMMENT
    - Update WWW
    - Remove outdated CONFLICTS_INSTALL: itstool22 has been removed over 5 years ago
    - Take maintainership
---
 textproc/itstool/Makefile | 21 +++++++++------------
 1 file changed, 9 insertions(+), 12 deletions(-)

diff --git a/textproc/itstool/Makefile b/textproc/itstool/Makefile
index f1580610eefc..30f5f2ed34bb 100644
--- a/textproc/itstool/Makefile
+++ b/textproc/itstool/Makefile
@@ -2,27 +2,24 @@ PORTNAME=	itstool
 PORTVERSION=	2.0.7
 PORTREVISION=	2
 CATEGORIES=	textproc
-MASTER_SITES=	http://files.itstool.org/itstool/
+MASTER_SITES=	https://files.itstool.org/itstool/
 
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Make XML documents translatable through po files
-WWW=		https://itstool.org/
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Translate XML with PO files using W3C Internationalization Tag Set rules
+WWW=		https://itstool.org/ \
+		https://github.com/itstool/itstool
 
 LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/COPYING.GPL3
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}libxml2-python>0:textproc/libxml2-python@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}libxml2-python>0:textproc/libxml2-python@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}libxml2-python>=0:textproc/libxml2-python@${PY_FLAVOR}
 
 USES=		python tar:bzip2
-GNU_CONFIGURE=	yes
-GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
-
-CONFLICTS_INSTALL=	itstool22
 
+GNU_CONFIGURE=	yes
 NO_ARCH=	yes
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|@PYTHON@|${PYTHON_CMD}|g' \
-		${WRKSRC}/itstool.in
+	@${REINPLACE_CMD} -e 's|@PYTHON@|${PYTHON_CMD}|g' ${WRKSRC}/itstool.in
 
 .include <bsd.port.mk>