aboutsummaryrefslogtreecommitdiffstats
path: root/games/sokoban/Makefile
blob: 52e24cf3dad10c3bb0fe0b541b5e599e53550b31 (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
# 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

USES=           ncurses
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
    @${MKDIR} ${STAGEDIR}/var/games/sokoban
    truncate -s 512 ${STAGEDIR}/var/games/sokoban/scores.sample

.include <bsd.port.mk>