mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-17 19:39:43 +00:00
4485bd8221
Simplify expressions for FreeBSD 13.X Reviewed by: many Differential Revision: https://reviews.freebsd.org/D46601
40 lines
889 B
Makefile
40 lines
889 B
Makefile
PORTNAME= spellcast
|
|
PORTVERSION= 1.2
|
|
PORTREVISION= 3
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://www.eblong.com/zarf/ftp/
|
|
DISTNAME= ${PORTNAME}
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
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
|
|
|
|
CFLAGS+= -Wno-return-type
|
|
|
|
PLIST_FILES= bin/spellcast share/man/man6/spellcast.6.gz
|
|
PORTDOCS= README spelllist.ps
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OPSYS} == FreeBSD
|
|
CFLAGS+= -Wno-error=int-conversion
|
|
.endif
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/spellcast ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/spellcast.6 ${STAGEDIR}${PREFIX}/share/man/man6
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.post.mk>
|