aboutsummaryrefslogtreecommitdiffstats
path: root/games/spellcast/Makefile
blob: f850d03675450947546f40c4572421cd95e6e263 (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
28
29
30
31
32
33
34
# Created by: Andrey Zakhvatov
# $FreeBSD$

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

USE_XORG=   x11
MAN6=       spellcast.6
PLIST_FILES=    bin/spellcast
PORTDOCS=   README spelllist.ps

CFLAGS+=    -Wno-return-type

OPTIONS_DEFINE= DOCS

.include <bsd.port.options.mk>

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

.include <bsd.port.mk>