git: f47b2c6d73a3 - main - x11/xdtm: Unbreak on HEAD

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Wed, 17 May 2023 04:53:20 UTC
The branch main has been updated by bofh:

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

commit f47b2c6d73a33bd2bb13f1a464ae817137d3e402
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-05-16 22:12:54 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-05-17 04:53:04 +0000

    x11/xdtm: Unbreak on HEAD
    
    - Pet portclippy
    - Adopt port
---
 x11/xdtm/Makefile | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)

diff --git a/x11/xdtm/Makefile b/x11/xdtm/Makefile
index 512f6fdf4157..0fea9014de61 100644
--- a/x11/xdtm/Makefile
+++ b/x11/xdtm/Makefile
@@ -4,13 +4,23 @@ PORTREVISION=	2
 CATEGORIES=	x11
 MASTER_SITES=	XCONTRIB/applications
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	bofh@FreeBSD.org
 COMMENT=	Graphical shell for the X Window System
 
-WRKSRC=		${WRKDIR}/${PORTNAME}
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/Copyright
 
 USES=		imake xorg
 USE_XORG=	xaw
+
 MAKE_JOBS_UNSAFE=	yes
 
-.include <bsd.port.mk>
+WRKSRC=		${WRKDIR}/${PORTNAME}
+
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+CFLAGS+=	-Wno-error=int-conversion
+.endif
+
+.include <bsd.port.post.mk>