aboutsummaryrefslogtreecommitdiffstats
path: root/games/xpired/Makefile
blob: 34a3c89df2901869b400d92c1de6b1f1b122e2c1 (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:    xpired
# Date created:             2 July 2002
# Whom:                 Edwin Groothuis <edwin@mavetju.org>
#
# $FreeBSD$
#

PORTNAME=   xpired
PORTVERSION=    1.22
CATEGORIES= games
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= xpired
DISTNAME=   ${PORTNAME}-${PORTVERSION}-linux_source

MAINTAINER= edwin@mavetju.org
COMMENT=    An action-puzzle maze escape game (SDL)

LIB_DEPENDS=    SDL_gfx.7:${PORTSDIR}/graphics/sdl_gfx \
        SDL_image.10:${PORTSDIR}/graphics/sdl_image \
        SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer \
        SDL-1.1.5:${PORTSDIR}/devel/sdl12

WRKSRC=     ${WRKDIR}/src

do-install:
    @${INSTALL_PROGRAM} ${WRKSRC}/xpired ${WRKSRC}/xpiredit ${PREFIX}/bin
    @${MKDIR} ${DATADIR}/img
    @${MKDIR} ${DATADIR}/snd
.for files in xpired.lvl xpired.cfg bgimages.txt readme.txt xpired.dmo
    @${INSTALL_DATA} ${WRKSRC}/${files} ${DATADIR}
.endfor
    @${INSTALL_DATA} ${WRKSRC}/img/* ${DATADIR}/img
    @${INSTALL_DATA} ${WRKSRC}/snd/* ${DATADIR}/snd

.include <bsd.port.mk>