aboutsummaryrefslogtreecommitdiff
path: root/games/spellcast/Makefile
blob: 30d05cac1a44ebcadef5a09a0a1540d54f6d3eea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
PORTNAME=	spellcast
PORTVERSION=	1.2
PORTREVISION=	2
CATEGORIES=	games
MASTER_SITES=	http://www.eblong.com/zarf/ftp/
DISTNAME=	${PORTNAME}
EXTRACT_SUFX=	.tar.Z

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Multiplayer fight with spells turn based game for X Window System

USES=		xorg
USE_XORG=	x11
PLIST_FILES=	bin/spellcast man/man6/spellcast.6.gz
PORTDOCS=	README spelllist.ps

CFLAGS+=	-Wno-return-type

OPTIONS_DEFINE=	DOCS

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/spellcast ${STAGEDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/spellcast.6 ${STAGEDIR}${PREFIX}/man/man6
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>