aboutsummaryrefslogtreecommitdiffstats
path: root/games/block/Makefile
blob: 27dd83ba29054446ff9921d4c4dec3bd406c9814 (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
35
36
37
# New ports collection makefile for:    block
# Version required:         0.5
# Date created:             10 May 1997
# Whom:                 Andrey Zakhvatov
#
# $FreeBSD$
#

DISTNAME=       block-0.6
CATEGORIES=     games
MASTER_SITES=       ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= games/strategy
EXTRACT_SUFX=       .tgz

MAINTAINER=     andy@icc.surw.chel.su

BROKEN=         "Segmentation fault (core dumped)"
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 1 2 3 4 5 6
    ${INSTALL_DATA} ${WRKSRC}/${file}.block ${PREFIX}/share/block/${file}.block
.endfor

.include <bsd.port.mk>