aboutsummaryrefslogtreecommitdiff
path: root/games/xpired/Makefile
blob: 4cd459d4a08e36491edfb867ff1ab72931310792 (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
# Created by: Edwin Groothuis <edwin@mavetju.org>

PORTNAME=	xpired
PORTVERSION=	1.22
PORTREVISION=	24
CATEGORIES=	games
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-linux/${PORTVERSION}
DISTNAME=	${PORTNAME}-${PORTVERSION}-linux_source

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Action-puzzle maze escape game

LICENSE=	GPLv2+

USES=		sdl
USE_SDL=	gfx image mixer sdl
WRKSRC=		${WRKDIR}/src

DESKTOP_ENTRIES="Xpired" \
		"" \
		"${DATADIR}/img/icon.bmp" \
		"${PORTNAME}" \
		"Game;LogicGame;ActionGame;" \
		""

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

.include <bsd.port.mk>