git: 362132cd7b3a - main - textproc/nunnimcax: Fix build with llvm15

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Fri, 09 Jun 2023 22:44:54 UTC
The branch main has been updated by bofh:

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

commit 362132cd7b3a9abf55d44b06d48e6c60871f2c6e
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-09 22:29:29 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-09 22:29:29 +0000

    textproc/nunnimcax: Fix build with llvm15
    
    - Add LICENSE LGPL20+
    - Pet portclippy
    - Adopt port
---
 textproc/nunnimcax/Makefile | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/textproc/nunnimcax/Makefile b/textproc/nunnimcax/Makefile
index fdd612539c54..a987d02748c3 100644
--- a/textproc/nunnimcax/Makefile
+++ b/textproc/nunnimcax/Makefile
@@ -3,18 +3,26 @@ PORTVERSION=	1.4.1
 CATEGORIES=	textproc
 MASTER_SITES=	SF/${PORTNAME:tl}/${PORTNAME}/${PORTVERSION}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	bofh@FreeBSD.org
 COMMENT=	C, non validating XML parser with SAX-like API
 WWW=		https://sourceforge.net/projects/nunnimcax/
 
+LICENSE=	LGPL20+
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
 USES=		uidfix
 USE_LDCONFIG=	YES
-SHLIB_MAJOR=	2
+
 MAKEFILE=	${FILESDIR}/Makefile
 MAKE_ENV=	SHLIB_MAJOR=${SHLIB_MAJOR}
+
 PLIST_SUB=	SHLIB_MAJOR="${SHLIB_MAJOR}"
 
-.if defined(NOPROFILE) || defined(NO_PROFILE)
+SHLIB_MAJOR=	2
+
+.include <bsd.port.options.mk>
+
+.if defined(NOPROFILE) || defined(NO_PROFILE) || ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079 )
 PLIST_SUB+=	PROFILE="@comment "
 .else
 PLIST_SUB+=	PROFILE=""