git: cc29ec923441 - main - textproc/html2xhtml: Improve port

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Fri, 29 Aug 2025 20:21:18 UTC
The branch main has been updated by vvd:

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

commit cc29ec9234411dba4fc88f28040ee30f7b2b66ce
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2025-08-29 20:18:22 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-08-29 20:18:22 +0000

    textproc/html2xhtml: Improve port
    
    - Replace PORTVERSION with DISTVERSION.
    - Add LICENSE_FILE.
    - Remove GNU_CONFIGURE_MANPREFIX.
    - Move USES before GNU_CONFIGURE - warning from portclippy.
    
    PR:             288548
    Approved by:    wilfried.meindl@gmail.com (maintainer, timeout 1 month)
---
 textproc/html2xhtml/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/textproc/html2xhtml/Makefile b/textproc/html2xhtml/Makefile
index 21a72fd24638..0961bc88cea4 100644
--- a/textproc/html2xhtml/Makefile
+++ b/textproc/html2xhtml/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	html2xhtml
-PORTVERSION=	1.4
+DISTVERSION=	1.4
 CATEGORIES=	textproc
 MASTER_SITES=	http://www.it.uc3m.es/jaf/html2xhtml/downloads/
 
@@ -8,10 +8,10 @@ COMMENT=	Convert HTML to XHTML
 WWW=		https://www.it.uc3m.es/jaf/html2xhtml
 
 LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
 
-GNU_CONFIGURE=	yes
-GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 USES=		iconv
+GNU_CONFIGURE=	yes
 
 CONFLICTS_INSTALL=	p5-HTML-HTML5-Parser p5-XML-Driver-HTML # bin/html2xhtml