summaryrefslogtreecommitdiff
path: root/games/sdl-ball/Makefile
blob: 28b97da563f13d0567193885919a87de0ef97160 (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:	sdl-ball
# Date created:		22 Apr 2008
# Whom:			Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	sdl-ball
PORTVERSION=	1.01
PORTREVISION=	1
CATEGORIES=	games
MASTER_SITES=	SF

MAINTAINER=	amdmi3@FreeBSD.org
COMMENT=	Arkanoid/Breakout clone with pretty graphics

USE_BZIP2=	yes
USE_SDL=	sdl mixer image ttf
USE_GL=		gl glu
MAKE_ENV=	DATADIR=${DATADIR}/

WRKSRC=		${WRKDIR}/${PORTNAME}

PORTDOCS=	*

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/sdl-ball ${PREFIX}/bin/
	${MKDIR} ${DATADIR}
	cd ${WRKSRC}/themes && ${COPYTREE_SHARE} . ${DATADIR}/
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
.endif

.include <bsd.port.mk>