aboutsummaryrefslogtreecommitdiffstats
path: root/games/sokoban/Makefile
blob: d6974081aa5024833cea9ff5e320c38f144e7115 (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
# Created by: Andrey Zakhvatov
# $FreeBSD$

PORTNAME=       sokoban
PORTVERSION=        1.0
PORTREVISION=       2
CATEGORIES=     games
MASTER_SITES=       SUNSITE/games/strategy
DISTNAME=       ${PORTNAME}-src

MAINTAINER=     lifanov@mail.lifanov.com
COMMENT=        Logical game: problems with packets in cave

WRKSRC=         ${WRKDIR}/sokoban
ALL_TARGET=

do-install:
    @${INSTALL_PROGRAM} ${WRKSRC}/sokoban ${STAGEDIR}${PREFIX}/bin/sokoban
    @${MKDIR} ${STAGEDIR}${DATADIR}/screens
    @${INSTALL_DATA} ${WRKSRC}/screens/* ${STAGEDIR}${DATADIR}/screens

post-install:
    @${MKDIR} ${STAGEDIR}/var/games/sokoban
    @truncate -s 512 ${STAGEDIR}/var/games/sokoban/scores.sample

.include <bsd.port.mk>