summaryrefslogtreecommitdiff
path: root/games/blinkensisters/Makefile
blob: 85e48359fdecafe1350b457f615cfe09d92fb320 (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
38
39
40
41
42
43
44
45
# New ports collection makefile for:	blinkensisters
# Date created:		26 Mar 2006
# Whom:			Dmitry Marakasov <amdmi3@mail.ru>
#
# $FreeBSD$
#

PORTNAME=	blinkensisters
PORTVERSION=	0.3
CATEGORIES=	games
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
DISTNAME=	LostPixels_${PORTVERSION}_src

MAINTAINER=	amdmi3@mail.ru
COMMENT=	Parallax-style 2D scrolling platform game

USE_BZIP2=	yes
USE_GMAKE=	yes
USE_SDL=	sdl mixer image ttf

WRKSRC=		${WRKDIR}/LostPixels_${PORTVERSION}

MAKE_ARGS=	CC="${CC}"

PORTDOCS=	AUTHORS HOWTOPLAY INSTALL README SCRIPTING

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/LostPixels ${PREFIX}/bin/${PORTNAME}

	${MKDIR} ${DATADIR}
	${INSTALL_DATA} ${WRKSRC}/TTF/*.ttf ${DATADIR}
	${INSTALL_DATA} ${WRKSRC}/SND/*.ogg ${DATADIR}
	${INSTALL_DATA} ${WRKSRC}/GFX/*.bmp ${WRKSRC}/GFX/*.jpg ${DATADIR}
	${INSTALL_DATA} ${WRKSRC}/LEVELS/*.dat ${WRKSRC}/LEVELS/*.conf \
		${WRKSRC}/LEVELS/*.bsl ${DATADIR}

.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>