# New ports collection makefile for:	spellcast
# Version required:			1.1
# Date created:				28 June 1998
# Whom:					Andrey Zakhvatov
#
# $Id: Makefile,v 1.3 1998/11/21 07:27:34 steve Exp $
#

DISTNAME=		spellcast-1.1
CATEGORIES=		games
MASTER_SITES=		http://www.redestb.es/personal/ragnar/ \
			${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR=	games/multiplayer

MAINTAINER=		andy@icc.surw.chel.su

USE_X_PREFIX=		yes
MAN6=			spellcast.6

do-install:
	@ ${INSTALL_PROGRAM} ${WRKSRC}/spellcast ${PREFIX}/bin
	@ ${INSTALL_MAN} ${WRKSRC}/spellcast.6 ${PREFIX}/man/man6
.if !defined(NOPORTDOCS)
	@ ${MKDIR} ${PREFIX}/share/doc/spellcast
.for file in License README.1 README.2 spelllist.ps
	@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/spellcast
.endfor
.endif

.include <bsd.port.mk>
