Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 May 2023 14:57:42 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: d5f731c04524 - main - games/spellcast: Unbreak on HEAD
Message-ID:  <202305121457.34CEvgha080807@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

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

commit d5f731c045241a132fc67d34ca17d239b9141c90
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-05-12 14:31:09 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-05-12 14:57:24 +0000

    games/spellcast: Unbreak on HEAD
    
    - Add LICENSE MIT
    - Pet portclippy
    - Optionize do-iinstall target for DOCS
    - Adopt port
---
 games/spellcast/Makefile | 19 +++++++++++++++----
 1 file changed, 15 insertions(+), 4 deletions(-)

diff --git a/games/spellcast/Makefile b/games/spellcast/Makefile
index f454cf036000..ac996cda9ce5 100644
--- a/games/spellcast/Makefile
+++ b/games/spellcast/Makefile
@@ -6,23 +6,34 @@ MASTER_SITES=	http://www.eblong.com/zarf/ftp/
 DISTNAME=	${PORTNAME}
 EXTRACT_SUFX=	.tar.Z
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	bofh@FreeBSD.org
 COMMENT=	Multiplayer fight with spells turn based game for X Window System
 WWW=		https://www.eblong.com/zarf/spellcast.html
 
+LICENSE=	MIT
+
 USES=		xorg
 USE_XORG=	x11
-PLIST_FILES=	bin/spellcast man/man6/spellcast.6.gz
-PORTDOCS=	README spelllist.ps
 
 CFLAGS+=	-Wno-return-type
 
+PLIST_FILES=	bin/spellcast man/man6/spellcast.6.gz
+PORTDOCS=	README spelllist.ps
+
 OPTIONS_DEFINE=	DOCS
 
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+CFLAGS+=	-Wno-error=int-conversion
+.endif
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/spellcast ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_MAN} ${WRKSRC}/spellcast.6 ${STAGEDIR}${PREFIX}/man/man6
+
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202305121457.34CEvgha080807>