git: 7691d55c4185 - main - science/gtamsanalyzer: Unbreak on HEAD

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 15 May 2023 15:31:56 UTC
The branch main has been updated by bofh:

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

commit 7691d55c4185a759a48b0df0ec5dc7460120b195
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-05-15 14:10:05 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-05-15 15:31:46 +0000

    science/gtamsanalyzer: Unbreak on HEAD
    
    - Adopt port
---
 science/gtamsanalyzer/Makefile | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/science/gtamsanalyzer/Makefile b/science/gtamsanalyzer/Makefile
index e0c5c3010f49..cf73bb6fc7cc 100644
--- a/science/gtamsanalyzer/Makefile
+++ b/science/gtamsanalyzer/Makefile
@@ -5,7 +5,7 @@ CATEGORIES=	science gnustep
 MASTER_SITES=	SF/tamsys/gnustep%20tams/GTAMSAnalyzer%2${PORTVERSION}
 DISTNAME=	GTAMSAnalyzer.src.${PORTVERSION}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	bofh@FreeBSD.org
 COMMENT=	Qualitative Research Software for the Free World for GNUstep
 WWW=		http://tamsys.sourceforge.net/gtams/
 
@@ -16,6 +16,12 @@ USE_GNUSTEP=	back build
 
 WRKSRC=		${WRKDIR}/${DISTNAME}/Source
 
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+CFLAGS+=	-Wno-error=int-conversion
+.endif
+
 post-patch:
 	${RM} "${WRKSRC}/obj"
 	@${REINPLACE_CMD} '/^GNUSTEP_INSTALLATION_DIR/ s|=|=$$(DESTDIR)|' \
@@ -24,4 +30,4 @@ post-patch:
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/GNUstep/System/Applications/GTAMSAnalyzer.app/GTAMSAnalyzer
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>