aboutsummaryrefslogtreecommitdiffstats
path: root/games/xsokoban/Makefile
blob: f93b22d568f77ac22deaa2715ae76bac8071cc37 (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
# New ports collection makefile for:   xsokoban
# Version required:    3.3b
# Date created:        16 November 1996
# Whom:                Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
#
# $Id: Makefile,v 1.3 1998/04/18 12:45:08 itojun Exp $
#

DISTNAME=   xsokoban-3.3c
CATEGORIES= games
MASTER_SITES=   ftp://ftp.pmg.lcs.mit.edu/pub/xsokoban/

MAINTAINER=     Nakai@technologist.com

LIB_DEPENDS=    Xpm.5:${PORTSDIR}/graphics/xpm

USE_IMAKE=  yes
WRKSRC=     ${WRKDIR}/xsokoban
ALL_TARGET= xsokoban    

post-install:
    @${MKDIR} ${PREFIX}/lib/X11/xsokoban/scores \
        ${PREFIX}/lib/X11/xsokoban/bitmaps/defaults \
        ${PREFIX}/lib/X11/xsokoban/saves \
        ${PREFIX}/lib/X11/xsokoban/screens
    @chmod 777 ${PREFIX}/lib/X11/xsokoban/scores
    @chmod 775 ${PREFIX}/lib/X11/xsokoban/saves
    @${INSTALL_DATA} ${WRKSRC}/screens/* ${PREFIX}/lib/X11/xsokoban/screens
    @${INSTALL_DATA} ${WRKSRC}/bitmaps/defaults/* \
        ${PREFIX}/lib/X11/xsokoban/bitmaps/defaults
    @echo "First, type: 'xsokoban -c' to make score files."
    @echo "You must be the superuser 'root', and enter password 'score'."
    @echo

.include <bsd.port.mk>