summaryrefslogblamecommitdiff
path: root/games/block/Makefile
blob: 25c531e824ed3e4405eb333003c6858eb5108b59 (plain) (tree)


































                                                                             
# New ports collection makefile for:	block
# Version required:			0.5 
# Date created:				10 May 1997
# Whom:					Andrey Zakhvatov
#
# $Id$
#

DISTNAME=		block-0.5
CATEGORIES=		games
MASTER_SITES=		${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR=	games/strategy

MAINTAINER=		andy@icc.surw.chel.su

WRKSRC=			${WRKDIR}/blocks
MAKEFILE=		makefile
ALL_TARGET=		block bed
MAN6=			block.6 bed.6

pre-build:
	@${RM} ${WRKSRC}/block
	@${RM} ${WRKSRC}/bed

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/block ${PREFIX}/bin/block
	${INSTALL_PROGRAM} ${WRKSRC}/bed ${PREFIX}/bin/bed
	${INSTALL_MAN} ${WRKSRC}/block.6 ${PREFIX}/man/man6
	${INSTALL_MAN} ${WRKSRC}/bed.6 ${PREFIX}/man/man6
	${MKDIR} ${PREFIX}/share/block
.for file in another complex default pyramid
	${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/block/${file}.block
.endfor

.include <bsd.port.mk>